[issue2427] 2to3 should translate itertools.imap into generator expression, not list comprehension

David Wolever report at bugs.python.org
Wed Mar 19 23:25:21 CET 2008


David Wolever <wolever at cs.toronto.edu> added the comment:

itertools.imap is being translated directly to map... But I bet this is 
another one of those ordering problems -- itertools.imap is converted to 
the map, then the map is converted to list(map(...)) because fix_map 
doesn't know that map was already fixed.

----------
assignee: collinwinter -> David Wolever
nosy: +David Wolever

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2427>
__________________________________


More information about the Python-bugs-list mailing list