generator language design

Samuele Pedroni pedronis at bluewin.ch
Fri Jan 10 22:02:39 CET 2003


"Johan Ovlinger" <johan at ccs.neu.edu> ha scritto nel messaggio
news:avnbsv$8lp$1 at camelot.ccs.neu.edu...
> 3)  I'm sure 2 was chosen instead of good reason.
>
> Links to the rationale of point 3 would be much appreciated

see http://www.python.org/peps/pep-0255.html

in particular in Q&A:

Q. Why a new keyword for "yield"?  Why not a builtin function instead?


regards.






More information about the Python-list mailing list