[Python-Dev] Revised**8 PEP on Yield-From
greg.ewing at canterbury.ac.nz
Fri Mar 27 06:00:57 CET 2009
Nick Coghlan wrote:
> Since correctly written generators are permitted to
> convert GeneratorExit to StopIteration, the 'yield from' expression
> should detect when that has happened and reraise the original exception.
I'll have to think about that a bit, but you're
> it is also necessary to block close() in order to share an
That's a typo -- I meant to say 'throw' and 'close'
there, I think.
More information about the Python-Dev