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.266491
Marked as misclassified No
Message-id <>
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.
Date User Action Args
2010-11-28 10:14:07georg.brandlsetrecipients: + georg.brandl, rhettinger, Inyeol.Lee
2010-11-28 10:14:07georg.brandlsetmessageid: <>
2010-11-28 10:14:04georg.brandllinkissue10544 messages
2010-11-28 10:14:04georg.brandlcreate