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 levkivskyi
Recipients John.McDonald, Mariatta, ajaksu2, charettes, georg.brandl, gvanrossum, kaizhu, levkivskyi, serhiy.storchaka
Date 2018-05-03.09:41:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1525340515.19.0.682650639539.issue3692@psf.upfronthosting.co.za>
In-reply-to
Content
Mariatta,

> While I understand why it behaves the way it is now, but it seems wrong behavior. Perhaps we should look into finding a solution.

I am all in favour of dropping implicit function scope in comprehensions (mostly because of weirdness like described here, but it will also fix some `yield` issues and simplify some `await` aspects). But I was not able to convince others it worth the effort. Maybe we can make another attempt at discussing this?
History
Date User Action Args
2018-05-03 09:41:55levkivskyisetrecipients: + levkivskyi, gvanrossum, georg.brandl, ajaksu2, kaizhu, serhiy.storchaka, John.McDonald, charettes, Mariatta
2018-05-03 09:41:55levkivskyisetmessageid: <1525340515.19.0.682650639539.issue3692@psf.upfronthosting.co.za>
2018-05-03 09:41:55levkivskyilinkissue3692 messages
2018-05-03 09:41:55levkivskyicreate