[Python-ideas] Revised**10 PEP on Yield-From

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Apr 15 08:36:38 CEST 2009


Draft 11 of the PEP.

Changes in this version:

- GeneratorExit always calls close() and is always
   reraised.

- Special handling of thrown-in StopIterations
   removed, since Guido doesn't think you should be
   doing that in the first place.

- Expansion uses next(_i) instead of _i.next() and
   doesn't mention cacheing of methods.

-- 
Greg
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: yield-from-rev11d.txt
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20090415/cee11f31/attachment.txt>


More information about the Python-ideas mailing list