PEP 649: Deferred evaluation of annotations, tentatively accepted

I remember some of the SC discussions around this topic, and as I remember it there was a strong desire to rip the bandaid off and make the transition quickly. I’m really glad there’s a draft implementation available that folks can play with, and appreciate @Jelle ’s test suite results. I don’t know if it’s ultimately going to be feasible but if we can get away with backporting get_annotations() into typing_extensions and get libraries to begin using that now then maybe we can address the majority of issues before 3.14 is released with PEP 649.

BTW, the Python release version number of 649 needs to be updated.

14 Likes