[Python-ideas] x=(yield from) confusion [was:Yet another alternative name for yield-from]

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Apr 6 02:35:15 CEST 2009

Guido van Rossum wrote:

> This example and reasoning are invalid. You shouldn't be throwing
> StopIteration (or ReturnFromGenerator) *into* a generator. That's
> something that should only come *out*.

Okay, if you're happy to take that views, then so
am I. It'll make my expansion simpler.


More information about the Python-ideas mailing list