[issue4664] fix_imports does not refactor "import urlparse, cStringIO" correctly

2008-12-14 Thread Lennart Regebro
Lennart Regebro added the comment: What version are you running? Can you post the output? ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue4664] fix_imports does not refactor "import urlparse, cStringIO" correctly

2008-12-14 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Benjamin, your example fails for a different reason--i.e. the fixer for HTMLParser is missing. Sorry Lennart, I still cannot reproduce it. ___ Python tracker

[issue4664] fix_imports does not refactor "import urlparse, cStringIO" correctly

2008-12-14 Thread Lennart Regebro
Lennart Regebro added the comment: Heres my test file. Added file: http://bugs.python.org/file12357/test3.py ___ Python tracker ___ ___ Python

[issue4664] fix_imports does not refactor "import urlparse, cStringIO" correctly

2008-12-14 Thread Benjamin Peterson
Benjamin Peterson added the comment: Here's one which doesn't work correctly: $ 2to3 - RefactoringTool: Skipping implicit fixer: buffer RefactoringTool: Skipping implicit fixer: idioms RefactoringTool: Skipping implicit fixer: set_literal RefactoringTool: Skipping implicit fixer: ws_comma impor

[issue4664] fix_imports does not refactor "import urlparse, cStringIO" correctly

2008-12-14 Thread Alexandre Vassalotti
Alexandre Vassalotti 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,