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 georg.brandl
Recipients Inyeol.Lee, georg.brandl, rhettinger
Date 2010-11-28.10:14:04
SpamBayes Score 0.2664912
Marked as misclassified No
Message-id <1290939247.77.0.216563032406.issue10544@psf.upfronthosting.co.za>
In-reply-to
Content
While the behavior is confusing, I don't think yield inside comprehensions should be disallowed.  Rather, the fact that comprehensions have their own scope should be stated clearer.
History
Date User Action Args
2010-11-28 10:14:07georg.brandlsetrecipients: + georg.brandl, rhettinger, Inyeol.Lee
2010-11-28 10:14:07georg.brandlsetmessageid: <1290939247.77.0.216563032406.issue10544@psf.upfronthosting.co.za>
2010-11-28 10:14:04georg.brandllinkissue10544 messages
2010-11-28 10:14:04georg.brandlcreate