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 josh.r
Recipients Windson Yang, josh.r, peter.otten, rhettinger, yesheng
Date 2018-11-21.00:53:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1542761633.94.0.788709270274.issue35273@psf.upfronthosting.co.za>
In-reply-to
Content
The "bug" is the expected behavior for 2.7, as previously noted, and does not exist on Python 3 (where list comprehensions follow the same rules as generator expressions for scoping), where NameErrors are raised consistently.
History
Date User Action Args
2018-11-21 00:53:54josh.rsetrecipients: + josh.r, rhettinger, peter.otten, Windson Yang, yesheng
2018-11-21 00:53:53josh.rsetmessageid: <1542761633.94.0.788709270274.issue35273@psf.upfronthosting.co.za>
2018-11-21 00:53:53josh.rlinkissue35273 messages
2018-11-21 00:53:53josh.rcreate