[Python-ideas] Revised revised revised PEP on yield-from

Guido van Rossum guido at python.org
Tue Feb 17 05:31:06 CET 2009

On Mon, Feb 16, 2009 at 6:51 PM, Raymond Hettinger <python at rcn.com> wrote:
> Looks like a language construct where only a handful
> of python programmers will be able to correctly describe
> what it does.

That doesn't necessarily matter. It's true for quite a few Python
constructs that many Python programmers use without knowing every
little semantic detail.

If you don't use .send(), .throw(), .close(), the semantics of "yield
from" are very simple to explain and remember. All the rest is there
to make advanced uses possible.

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-ideas mailing list