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-14.19:38:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526326715.85.0.682650639539.issue33346@psf.upfronthosting.co.za>
In-reply-to
Content
> [f: [x async for x in f(x)] for f in fs]

Did you mean {} for the outer brackets intead of []?

I think it is reasonable that if the presence of 'async for' or 'await' in a comprehension makes it async, then this should also apply if that comprehension is nested inside another.

All of these should only be allowed inside 'async def' though, right?
History
Date User Action Args
2018-05-14 19:38:35gvanrossumsetrecipients: + gvanrossum, ericvw, asvetlov, serhiy.storchaka, yselivanov, levkivskyi, pablogsal
2018-05-14 19:38:35gvanrossumsetmessageid: <1526326715.85.0.682650639539.issue33346@psf.upfronthosting.co.za>
2018-05-14 19:38:35gvanrossumlinkissue33346 messages
2018-05-14 19:38:35gvanrossumcreate