New submission from Bruce Frederiksen <[EMAIL PROTECTED]>: 2to3, svn rev 61623 translates itertools.imap(lambda x: ..., ...) into a list comprehension. This should be translated instead into a generator expression so that doing itertools.imap on infinite iterators still works.
---------- assignee: collinwinter components: 2to3 (2.x to 3.0 conversion tool) messages: 64092 nosy: collinwinter, dangyogi severity: normal status: open title: 2to3 should translate itertools.imap into generator expression, not list comprehension type: behavior versions: Python 2.6 __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2427> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com