This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author benjamin.peterson
Recipients alexandre.vassalotti, benjamin.peterson, lregebro
Date 2008-12-14.19:50:51
SpamBayes Score 8.5419e-05
Marked as misclassified No
Message-id <1229284252.83.0.929931470684.issue4664@psf.upfronthosting.co.za>
In-reply-to
Content
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
import cStringIO, HTMLParser
--- <stdin> (original)
+++ <stdin> (refactored)
@@ -1,1 +1,1 @@
-import cStringIO, HTMLParser
+import io, HTMLParser
RefactoringTool: Files that need to be modified:
RefactoringTool: <stdin>

This is because the fix_imports pattern catching one module per import
statement.
History
Date User Action Args
2008-12-14 19:50:52benjamin.petersonsetrecipients: + benjamin.peterson, alexandre.vassalotti, lregebro
2008-12-14 19:50:52benjamin.petersonsetmessageid: <1229284252.83.0.929931470684.issue4664@psf.upfronthosting.co.za>
2008-12-14 19:50:52benjamin.petersonlinkissue4664 messages
2008-12-14 19:50:51benjamin.petersoncreate