[Python-ideas] Yet another alternative name for yield-from

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Apr 3 05:41:32 CEST 2009


Guido van Rossum wrote:

> I'm also returning to the view that return from a generator
> used as a task (in Dave Beazley's terms) should be spelled differently
> than a plain return.

Oh, no... I thought you wanted to avoid a bikeshed
discussion on that...

> Phillip Eby's 'return from yield with' may be a
> little long, but how about 'return from'?

That makes no sense. The thing after the 'from'
isn't what you're returning from!

-- 
Greg





More information about the Python-ideas mailing list