List comprehension in if clause of another list comprehension
bearophileHUGS at lycos.com
bearophileHUGS at lycos.com
Fri Dec 19 07:26:16 EST 2008
Peter Otten:
> The problem is that list comprehensions do not introduce a new namespace.
I think Python3 fixes this bug.
Bye,
bearophile
More information about the Python-list
mailing list