[IronPython] Re: Why won't these snippets run?

Fredrik Lundh fredrik at pythonware.com
Mon Sep 19 13:38:04 CEST 2005

Ray Djajadinata wrote:

> Thanks! I think last time you mentioned that IP
> already had generators--were you referring to 0.9.2 or
> some other version in the future?

"generators" != "generator expressions"

the former is an execution mechanism which lets a function or method
incrementally "yield" a sequence of values, instead of returning a single
value (introduced in Python 2.2); the latter is syntactic sugar for one-
line generators (introduced in Python 2.4).


More information about the Ironpython-users mailing list