[Python-Dev] Iteration variables and list comprehensions (original) (raw)

Greg Ward gward@python.net
Tue, 29 May 2001 17:21:55 -0400


On 29 May 2001, David Beazley said:

Therefore, I'm wondering if it would make any sense to make the iterator variables used inside of a list comprehension private in some manner--either through name mangling or some other technique? For example:

Two ideas occur to me:

Haven't really thought about backwards compatibility issues...

    Greg