[Python-Dev] Short-circuiting iterators
Simon Wittber
simonwittber at gmail.com
Wed Dec 7 04:05:24 CET 2005
On 12/7/05, Raymond Hettinger <raymond.hettinger at verizon.net> wrote:
> Are there any generator specific needs that are not met by the PEP 342
> implementation? Given a choice between throw(), close(), and send(), I
> would have thought that all the bases have been covered.
Agreed. When the new functionality in PEP 342 arrives, most of the
generator tricks in nanothreads.py will become redundant.
-Sw.
More information about the Python-Dev
mailing list