[issue42725] PEP 563: Should the behavior change for yield/yield from's

Serhiy Storchaka report at bugs.python.org
Sat Apr 24 11:49:53 EDT 2021


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

There is no “expr-without-await-or-async-for” subgrammar, but "await" and asynchronous comprehensions are invalid in synchronous functions. There should be similar flag for annotations in symtable.c.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42725>
_______________________________________


More information about the Python-bugs-list mailing list