PEP 234: Iterators

Aahz Maruch aahz at panix.com
Sat May 5 13:13:38 EDT 2001


In article <3AF1E830.A71AD2CA at letterror.com>,
Just van Rossum  <just at letterror.com> wrote:
>Roman Suzi wrote:
>> 
>> 8-[ xrange is about to be excluded from Python? Can't it just be
>> an alternative name of the iterator, doing same thing?
>
>Could be done, for most usages, but it's not completely compatible: the xrange
>object supports random access, whereas an iterator does not.

Ah.  Never mind, disregard my last post.
-- 
                      --- Aahz  <*>  (Copyright 2001 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het Pythonista   http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

I don't have enough time for all the cool people I know, let alone all
the cool people *they* know.  --Aahz



More information about the Python-list mailing list