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 gvanrossum
Recipients asvetlov, ericvw, gvanrossum, levkivskyi, pablogsal, serhiy.storchaka, yselivanov
Date 2018-05-11.15:13:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526051634.92.0.682650639539.issue33346@psf.upfronthosting.co.za>
In-reply-to
Content
@Ivan: Please stop bringing up that we should drop the implicit scope for comprehensions. I know you feel this way, but it's not going to happen.

@Serhiy: What does the PEP for async/await say? (Or is there a separate PEP for allowing async/await inside comprehensions?)

@Yury: Your thoughts?

I do think the code from the OP's example should be expected to work.

Does it / should it work the same way for generator expressions?
History
Date User Action Args
2018-05-11 15:13:54gvanrossumsetrecipients: + gvanrossum, ericvw, asvetlov, serhiy.storchaka, yselivanov, levkivskyi, pablogsal
2018-05-11 15:13:54gvanrossumsetmessageid: <1526051634.92.0.682650639539.issue33346@psf.upfronthosting.co.za>
2018-05-11 15:13:54gvanrossumlinkissue33346 messages
2018-05-11 15:13:54gvanrossumcreate