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

Nick Coghlan ncoghlan at gmail.com
Thu Apr 9 12:09:52 CEST 2009


Greg Ewing wrote:
> An alternative viewpoint would be the idea that a coroutine
> should always start itself automatically is too simplistic.

That's the angle I've been taking. I can see why it can be convenient to
start a coroutine automatically, but only in the same way that a thread
creation function that also starts the thread for you can be convenient.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------



More information about the Python-ideas mailing list