[Python-ideas] Yield-From: Finalization guarantees

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Apr 1 01:29:29 CEST 2009


Jacob Holm wrote:

> will also remove some behavior 
> that could have been useful, such as the ability to suppress the 
> GeneratorExit if you know what you are doing.

I'm not convinced there are any use cases for suppressing
GeneratorExit in the first place. Can you provide an
example that couldn't be easily done some other way?

--
Greg


More information about the Python-ideas mailing list