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.

Authorgeorg.brandl
RecipientsInyeol.Lee, georg.brandl, rhettinger
Date2010-11-28.10:14:04
SpamBayes Score0.2664912
Marked as misclassifiedNo
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
DateUserActionArgs
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
close