[Python-ideas] map iterator

Mathias Panzenböck grosser.meister.morti at gmx.net
Wed Feb 15 01:46:58 CET 2012


On 02/09/2012 05:48 PM, Jerry Hill wrote:
> On Thu, Feb 9, 2012 at 11:40 AM, Edward Lesmes <ehlesmes at gmail.com <mailto:ehlesmes at gmail.com>> wrote:
>
>     An iterator version of map should be available for large sets of data.
>
>
> The python time machine strikes again.  In python 2, this is available as itertools.imap.  In python
> 3, this is the default behavior of the map() function.
>

Same goes for zip, by the way.



More information about the Python-ideas mailing list