[issue42725] PEP 563: Should the behavior change for yield/yield from's
Guido van Rossum
report at bugs.python.org
Sat Apr 24 10:55:12 EDT 2021
Guido van Rossum <gvanrossum at gmail.com> added the comment:
I don’t really care how you do it, I just thought having a whole “expr-without-walrus-or-yield” subgrammar would be tedious.
If there is a way to have the “in-an-annotation” flag set during parsing that may be better, I don’t know.
Maybe Lysandros has an idea?
----------
nosy: +Guido.van.Rossum
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42725>
_______________________________________
More information about the Python-bugs-list
mailing list