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 <1526333338.82.0.682650639539.issue33346@psf.upfronthosting.co.za>
In-reply-to
Content
> 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).
History
Date User Action Args
2018-05-14 21:28:58yselivanovsetrecipients: + yselivanov, gvanrossum, ericvw, asvetlov, serhiy.storchaka, levkivskyi, pablogsal
2018-05-14 21:28:58yselivanovsetmessageid: <1526333338.82.0.682650639539.issue33346@psf.upfronthosting.co.za>
2018-05-14 21:28:58yselivanovlinkissue33346 messages
2018-05-14 21:28:58yselivanovcreate