Message337340
| 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. |
|