This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ragnark
Recipients
Date 2004-03-09.14:13:35
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
The current implementation of map() and filter()
returns a list when executed on any iterator, including
generators.

However, it may be very useful to map and filter the
output from generators without having to generate all
the data and allocate memory for it.

I would propose for map() and filter() to return a
generator-object instead of a list when the
input-argument is a generator.
History
Date User Action Args
2007-08-23 16:08:02adminlinkissue912738 messages
2007-08-23 16:08:02admincreate