[Python-ideas] Revised**6 PEP on yield-from

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Feb 22 20:45:07 CET 2009


Guido van Rossum wrote:

> This means that sending a non-None value into a generator that
> delegates to a non-generator iterator will fail. I doubt there will be
> too many use cases that are inconvenienced by this.

Okay, I'll leave it that way -- we can always relax it
later if need be.

I'll also update the PEP to be more clear about what
exception is raised and where it goes.

-- 
Greg



More information about the Python-ideas mailing list