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 wolever
Recipients loewis, wolever
Date 2008-03-24.00:30:58
SpamBayes Score 0.3680696
Marked as misclassified No
Message-id <17FABDF4-BE42-41F0-8437-20F7E8BEFF1E@cs.toronto.edu>
In-reply-to <1206304742.87.0.65595125742.issue2468@psf.upfronthosting.co.za>
Content
Ah, nuts -- I had a test case for this, but it was testing with 'from  
itertools import izip, imap'... But not the single node >_<
It has been fixed, and appropriate test has been added, in r61824.

On 23-Mar-08, at 4:39 PM, Martin v. Löwis wrote:

>
> New submission from Martin v. Löwis <martin@v.loewis.de>:
>
> Currently (r61811), the code
>
> from itertools import izip
>
> gets fixed to
>
> from itertools import
>
> This is incorrect; the import statement should be removed altogether.
>
> ----------
> assignee: David Wolever
> components: 2to3 (2.x to 3.0 conversion tool)
> messages: 64375
> nosy: David Wolever, loewis
> severity: normal
> status: open
> title: izip fixer generates incorrect import statement
>
> __________________________________
> Tracker <report@bugs.python.org>
> <http://bugs.python.org/issue2468>
> __________________________________
History
Date User Action Args
2008-03-24 00:31:00woleversetspambayes_score: 0.36807 -> 0.3680696
recipients: + wolever, loewis
2008-03-24 00:30:58woleverlinkissue2468 messages
2008-03-24 00:30:58wolevercreate