Yury Selivanov <yseliva...@gmail.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33346>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to