Message 316561 - Python tracker
Message316561
| 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:35 | gvanrossum | set | recipients: + gvanrossum, ericvw, asvetlov, serhiy.storchaka, yselivanov, levkivskyi, pablogsal |
| 2018-05-14 19:38:35 | gvanrossum | set | messageid: <1526326715.85.0.682650639539.issue33346@psf.upfronthosting.co.za> |
| 2018-05-14 19:38:35 | gvanrossum | link | issue33346 messages |
| 2018-05-14 19:38:35 | gvanrossum | create | |