David Wolever <[EMAIL PROTECTED]> added the comment: 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 <[EMAIL PROTECTED]>: > > 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 <[EMAIL PROTECTED]> > <http://bugs.python.org/issue2468> > __________________________________ __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2468> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com