PEP 255: Simple Generators
Tim Peters
tim.one at home.com
Tue Jun 19 19:32:11 EDT 2001
[Erik Max Francis]
> This is an extremely clever idea.
Indeed it is, but you can thank Ralph Griswold (Icon's dad) for most of the
Python inspiration; Sather and CLU played indirect roles (most visibly, both
of those use "yield"; Icon uses "suspend"). Note that in Knuth's
terminology, they're simply "semi-coroutines". These ideas used to be more
common in programming! We're just trying to bring Python up to 1960 <wink>.
More information about the Python-list
mailing list