Message316584
> Did you mean {} for the outer brackets intead of []?
Yes, my bad.
> All of these should only be allowed inside 'async def' though, right?
Yep, except async generator expressions which are allowed to appear in synchronous contexts, e.g.:
def foo():
return (i async for i in ai)
(this already works in 3.7). |
|
Date |
User |
Action |
Args |
2018-05-14 21:28:58 | yselivanov | set | recipients:
+ yselivanov, gvanrossum, ericvw, asvetlov, serhiy.storchaka, levkivskyi, pablogsal |
2018-05-14 21:28:58 | yselivanov | set | messageid: <1526333338.82.0.682650639539.issue33346@psf.upfronthosting.co.za> |
2018-05-14 21:28:58 | yselivanov | link | issue33346 messages |
2018-05-14 21:28:58 | yselivanov | create | |
|