Author yselivanov
Recipients asvetlov, ericvw, gvanrossum, levkivskyi, pablogsal, serhiy.storchaka, yselivanov
Date 2018-05-14.21:28:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> 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:58yselivanovsetrecipients: + yselivanov, gvanrossum, ericvw, asvetlov, serhiy.storchaka, levkivskyi, pablogsal
2018-05-14 21:28:58yselivanovsetmessageid: <>
2018-05-14 21:28:58yselivanovlinkissue33346 messages
2018-05-14 21:28:58yselivanovcreate