[issue42737] PEP 563: drop annotations for complex assign targets

Guido van Rossum report at bugs.python.org
Fri Dec 25 17:18:58 EST 2020


Guido van Rossum <guido at python.org> added the comment:

So the distinction between simple and complex is to define what goes into `__annotations__`. As long as we don't disturb that I think it's fine not to evaluate anything. (There's also the effect on what's considered a local variable, inside functions.)

----------

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


More information about the Python-bugs-list mailing list