Guido van Rossum <gvanros...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue42725>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to