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 ned.deily
Recipients Ariel Bruner, ned.deily
Date 2015-03-19.21:52:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426801920.98.0.974247953386.issue23714@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the report.  Your example is of a set comprehension.  Set and dictionary comprehensions were Python 3.1 features backported to Python 2.7 for compatibility and thus had no existing Python 2 compatibility concerns.  If you try a similar example using list comprehensions, which have been around in Python 2 for a long time, you'll see there is a difference in behavior between Python 2 and 3, which is what under discussion in Issue5242.

https://docs.python.org/2/whatsnew/2.7.html#python-3-1-features
History
Date User Action Args
2015-03-19 21:52:01ned.deilysetrecipients: + ned.deily, Ariel Bruner
2015-03-19 21:52:00ned.deilysetmessageid: <1426801920.98.0.974247953386.issue23714@psf.upfronthosting.co.za>
2015-03-19 21:52:00ned.deilylinkissue23714 messages
2015-03-19 21:52:00ned.deilycreate