[issue8877] 2to3 fixes stdlib import wrongly

2010-06-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: And this has been fixed in the lastest versions of 2to3. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker

[issue8877] 2to3 fixes stdlib import wrongly

2010-06-02 Thread Martin v . Löwis
Martin v. Löwis added the comment: Just in case it isn't clear: this is because of the order of fixes. The first fixer replaces httplib with http.client, then the next fixer thinks this is a relative import. -- nosy: +loewis ___ Python tracker

[issue8877] 2to3 fixes stdlib import wrongly

2010-06-02 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman : d...@enrai src $ ls -l test/* -rw-r--r-- 1 djc users 34 Jun 2 16:00 test/http.py -rw-r--r-- 1 djc users 0 Jun 2 16:00 test/__init__.py d...@enrai src $ cat test/http.py from httplib import BadStatusLine d...@enrai src $ 2to3 test/* RefactoringTool: Skippin