Generator Frustration

TommyVee xxxxxxxx at xxxxxx.xxx
Sun Jun 5 20:11:50 EDT 2011


"Gregory Ewing"  wrote in message news:95059eFuroU1 at mid.individual.net...

Steven D'Aprano wrote:

> A nice piece of syntax that has been proposed for Python is "yield from", 
> which will do the same thing, but you can't use that yet.

Unless you're impatient enough to compile your own
Python with my patch applied:

http://www.cosc.canterbury.ac.nz/greg.ewing/python/yield-from/yield_from.html

-- 
Greg

Sounds like the "yield from" is the about this best solution.  Thanks for 
all your help. 




More information about the Python-list mailing list