[Python-iterators] While we're at it...

David Eppstein eppstein at ics.uci.edu
Fri Jun 29 23:34:44 CEST 2001


In article <mailman.993846826.12787.python-list at python.org>,
 "Tim Peters" <tim.one at home.com> wrote:

> - The following functions were generalized to work nicely with iterator
>   arguments:
>     map(), filter(), reduce(), zip()

Is there a PEP for this?  It doesn't seem to be in 234.
Can I assume that "work nicely" means they act like simple generators in 
yielding partial results even when their inputs are infinite sequences?
-- 
David Eppstein       UC Irvine Dept. of Information & Computer Science
eppstein at ics.uci.edu http://www.ics.uci.edu/~eppstein/



More information about the Python-list mailing list