On Thu, Mar 26, 2009 at 5:21 AM, Greg Ewing <greg.ew...@canterbury.ac.nz> wrote: > Here's a new draft of the PEP. I've added a Motivation > section and removed any mention of inlining. > > There is a new expansion that incorporates recent ideas, > including the suggested handling of StopIteration raised > by a throw() call (i.e. if it wasn't the one thrown in, > treat it as a return value). > > Explicit finalization is performed if the delegating > generator is closed, but not when the subiterator > completes itself normally.
Submitted to SVN. I'll try to critique later. -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com