[Python-Dev] PEP 563: Postponed Evaluation of Annotations

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Nov 9 02:13:56 EST 2017


Guido van Rossum wrote:
> I did not assume totally opaque -- but code objects are not very 
> introspection friendly (and they have no strong compatibility guarantees).

If I understand the proposal correctly, there wouldn't be any
point in trying to introspect the lambdas/thunks/whatever.
They're only there to provide a level of lazy evaluation.
You would evaluate them and then introspect the returned
data structure.

-- 
Greg


More information about the Python-Dev mailing list