I'd like to revive the discussion of PEP 649
[https://www.python.org/dev/peps/pep-0649/] that started shortly before
development of 3.10 features was closed. This is Larry's PEP to defer
evaluation of __annotations__ until it's actually accessed. During the
discussion the decision was made to b
Attached is my second draft of PEP 649. The PEP and the prototype have
both seen a marked improvement since round 1 in January; PEP 649 now
allows annotations to refer to any variable they could see under stock
semantics:
* Local variables in the current function scope or in enclosing
f