PEP 563 changed the semantics of annotations. When its semantics are active, annotations must assume they will be evaluated in module-level scope. They may no longer refer directly to local variables or class attributes.
On 1/11/21 10:16 AM, Chris Angelico wrote:Number allocation is pretty informal. Go ahead and grab PEP 649;It's now checked in as PEP 649, with a modern header, modern copyright, and I went ahead and grabbed the formatting stanza from the end too.
Welcome to the world, baby 649!
/arry
_______________________________________________Python-Dev mailing list -- python-dev@python.orgTo unsubscribe send an email to python-dev-leave@python.orgMessage archived at https://mail.python.org/archives/list/python-dev@python.org/message/OKOQEAEPKYDX6AVEFD7DDPBKOHGXB4GB/Code of Conduct: http://python.org/psf/codeofconduct/