[Python-Dev] List comprehensions

Gerald S. Williams gsw@agere.com
Wed, 26 Jun 2002 16:22:06 -0400

Has anyone summarized the list comprehension design discussions? I found
references to "lots of discussion" about it but haven't yet found the
discussions themselves.

I don't want to rehash any old discussions, but I came across a surprise
recently while converting constructs like "map(lambda x:x+1,x)" and just
wanted to see the rationale behind not creating a local scope for list
comprehension variables.

Any pointer would be appreciated.