Miscellaneous iterator/generator stuff

Jeff Walden jwalden at MIT.EDU
Tue Jun 13 15:17:59 PDT 2006

Typo: the intro paragraph on <http://developer.mozilla.org/es4/proposals/iterators_and_generators.html> contains a link to PEP 324 which should really be to PEP 342.

Python equates |yield| with no value with |yield None|; the analog here would be |yield| with no value being equivalent to |yield undefined|.  The iterator/generator page, its corresponding discussion, and the ES4 grammar do not include |yield|.  Is this an oversight?  Incidentally, see also <https://bugzilla.mozilla.org/show_bug.cgi?id=326466#c78> and <https://bugzilla.mozilla.org/show_bug.cgi?id=326466#c79> in Mozilla-land, where I believe |yield;| has been implemented.


Rediscover the Web!

Reclaim Your Inbox!

More information about the Es4-discuss mailing list