Python 3.14 Pre-Release
by zahlman on 1/13/2025, 6:48:07 PM
> The annotations on functions, classes, and modules are no longer evaluated eagerly. Instead, annotations are stored in special-purpose annotate functions and evaluated only when necessary. This is specified in PEP 649 and PEP 749.
FWIW, these "annotate functions" are named `__annotate__` per my suggestion (https://discuss.python.org/t/_/25672/4).
by theandrewbailey on 1/13/2025, 2:45:11 PM
Pi-thon
> The annotations on functions, classes, and modules are no longer evaluated eagerly. Instead, annotations are stored in special-purpose annotate functions and evaluated only when necessary. This is specified in PEP 649 and PEP 749.
FWIW, these "annotate functions" are named `__annotate__` per my suggestion (https://discuss.python.org/t/_/25672/4).