[Python-Dev] Re: PEP: Deferred Evaluation Of Annotations Using Descriptors

2021年1月12日 16:02:42 -0800

On 13/01/21 5:47 am, Larry Hastings wrote:
instead of the compiler storing a code object as the annotations argument to MAKE_FUNCTION, store a tuple containing the fields you'd need to /recreate/ the code object at runtime--bytecode, lnotab, names, consts, etc.
Would that tuple be significantly smaller than the corresponding
code object, though?
--
Greg
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/2NHFIGK55XN4U77V6V2KTBRGJ7TSGAAB/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to