[New-bugs-announce] [issue5279] 2to3 mishandles some imports

Jakub Wilk report at bugs.python.org
Mon Feb 16 13:52:25 CET 2009


New submission from Jakub Wilk <ubanus at users.sf.net>:

$ cat test.py 
from itertools import imap as _map

$ ./2to3 test.py 2>/dev/null
--- test.py (original)
+++ test.py (refactored)
@@ -1,1 +1,1 @@
-from itertools import imap as _map
+from itertools import as _map

----------
components: 2to3 (2.x to 3.0 conversion tool)
messages: 82236
nosy: jwilk, pl
severity: normal
status: open
title: 2to3 mishandles some imports
versions: Python 2.6, Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5279>
_______________________________________


More information about the New-bugs-announce mailing list