Issue 2468: izip fixer generates incorrect import statement
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> > __________________________________