[Python-Dev] PEP 289 - Generator Expressions (original) (raw)

[Python-Dev] PEP 289 - Generator Expressions - Let's Move Forward

Armin Rigo arigo at tunes.org
Mon May 3 15:17:48 EDT 2004


Hello Guido,

On Mon, May 03, 2004 at 10:14:04AM -0700, Guido van Rossum wrote:

(...) these new semantics are unlike anything seen before in Python: transformations that require a definition of "free variables" are not seen anywhere else (nested scopes use a different concept).

I think I see your point, although I'm not sure I see how nested scopes work if not with free variables ( = variables used but not bound in the current scope).

Armin



More information about the Python-Dev mailing list