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

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

Andrew Koenig ark-mlist at att.net
Fri Apr 30 13:59:12 EDT 2004


> This looks (a) cool and (b) a complete hack that nobody should be allowed to > do without messing with sys.getframe().

It reminds me a little bit of the dynamic binding in Emacs lisp. As incredibly useful as that is sometimes, it's a disgusting hack. :)

And, if I understand correctly, something from which the Lisp community is moving away--preferring, instead, the notion of "lexical scoping" such as in Scheme.



More information about the Python-Dev mailing list