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 yselivanov
Recipients asvetlov, ericvw, gvanrossum, levkivskyi, njs, pablogsal, serhiy.storchaka, xtreak, yselivanov
Date 2019-03-06.21:30:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1551907815.95.0.818165772013.issue33346@roundup.psfhosted.org>
In-reply-to
Content
Yes, I have exactly the same thoughts as Nathaniel about this.  The bug should be fixed, and the algorithm should be as follows (quoting Nathaniel):

> So, I would expect the rule to be, precisely: if an async list/dict/set comprehension occurs inside either a list/dict/set comprehension or a generator expression, that should force the enclosing expression to become async.
History
Date User Action Args
2019-03-06 21:30:16yselivanovsetrecipients: + yselivanov, gvanrossum, ericvw, njs, asvetlov, serhiy.storchaka, levkivskyi, pablogsal, xtreak
2019-03-06 21:30:15yselivanovsetmessageid: <1551907815.95.0.818165772013.issue33346@roundup.psfhosted.org>
2019-03-06 21:30:15yselivanovlinkissue33346 messages
2019-03-06 21:30:15yselivanovcreate