[Python-Dev] Short-circuiting iterators
Matthew F. Barnes
mfb at lotusland.dyndns.org
Wed Nov 30 20:16:25 CET 2005
On Wed, 2005-11-30 at 10:57 -0800, Alex Martelli wrote:
> PEP 342, already accepted and found at
> http://python.org/peps/pep-0342.html , covers related functionality
> (as well as many other points).
Thanks Alex, I'll take another look at that PEP. The first time I tried
to read it my brain started to sizzle.
I happened to use a generator-iterator in my example, but my thought was
that the extension could be applied to iterators in general, including
sequence-iterators.
Matthew Barnes
More information about the Python-Dev
mailing list