Iterators for 2.2 (was Re: do...until wisdom needed...)
Aahz Maruch
aahz at panix.com
Fri Apr 20 20:21:48 EDT 2001
In article <7q3E6.49658$uN3.979125 at e420r-atl1.usenetserver.com>,
Steve Holden <sholden at holdenweb.com> wrote:
>"Aahz Maruch" <aahz at panix.com> wrote in message
>news:9bpho5$7j8$1 at panix2.panix.com...
>> In article <slrn9dv5st.68t.neelk at alum.mit.edu>,
>> Neelakantan Krishnaswami <neelk at alum.mit.edu> wrote:
>>>
>>>My personal suspicion (and this is just a guess) is that if
>>>syntactically lightweight generators and coroutines were added to
>>>Python, then the pressure for new features would fade.
>>
>> Generators (called "iterators") are going to be 2.2. They'll be more
>> powerful that Icon's generators; it's not clear whether they'll be a
>> full-fledged substitute for coroutines.
>
>Cool. Presumably for 2.2 they'll be in __future__?
Depends whether they require any backward-incompatible changes. The
current proposal on the plate is supposed to be completely backward
compatible, but actual use will determine that.
--
--- 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
"Beware of companies that claim to be like a family. They might not be
lying." --Jill Lundquist
More information about the Python-list
mailing list