This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author krichter
Recipients docs@python, krichter
Date 2014-06-12.19:17:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It would be useful to have a short statement in the docs ( that the expression in a list comprehension isn't put into a block, but evaluated against the same block where it is located because intuitively one might think that variables can be overridden in the statement.
This applies to both 2.7 and 3.4.1.
Date User Action Args
2014-06-12 19:17:59krichtersetrecipients: + krichter, docs@python
2014-06-12 19:17:59krichtersetmessageid: <>
2014-06-12 19:17:59krichterlinkissue21739 messages
2014-06-12 19:17:59krichtercreate