Issue 5279: 2to3 mishandles some imports (original) (raw)

Issue5279

Created on 2009-02-16 12:51 by jwilk, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg82236 - (view) Author: Jakub Wilk (jwilk) Date: 2009-02-16 12:51
$ 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
msg82244 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2009-02-16 15:38
Thanks for the report! Fixed in r69673.
History
Date User Action Args
2022-04-11 14:56:45 admin set github: 49529
2009-02-16 15:38:33 benjamin.peterson set status: open -> closedresolution: fixedmessages: + nosy: + benjamin.peterson
2009-02-16 12:51:24 jwilk create