[issue2468] izip fixer generates incorrect import statement

2008-03-23 Thread Martin v. Löwis
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

[issue2468] izip fixer generates incorrect import statement

2008-03-23 Thread David Wolever
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

[issue2468] izip fixer generates incorrect import statement

2008-03-23 Thread David Wolever
Changes by David Wolever [EMAIL PROTECTED]: -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2468 __ ___ Python-bugs-list