PEP 234: Iterators

Neil Schemenauer nas at python.ca
Sun May 6 00:33:55 EDT 2001


Aahz Maruch wrote:
> I haven't checked the most recent version of PEP 234 to make
> sure I know what I'm talking about

Best to do that before spreading too many rumors.

> functions like range() would return an iterator, which would then
> automatically return the entire list if a sequence operation were
> performed instead of an iteration operation.

Nope.

  Neil




More information about the Python-list mailing list