Alexandre Vassalotti <[email protected]> added the comment: Sorry, I still cannot reproduce it. Could you attach your test file? Maybe it is some weird encoding bug.
a...@helios:~$ 2to3 -f imports test.py --- test.py (original) +++ test.py (refactored) @@ -1,2 +1,2 @@ -import urlparse, cStringIO -import cStringIO, urlparse +import urllib.parse, io +import io, urllib.parse RefactoringTool: Files that need to be modified: RefactoringTool: test.py ---------- nosy: +alexandre.vassalotti title: import urlparse, cStringIO breaks -> fix_imports does not refactor "import urlparse, cStringIO" correctly _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue4664> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
