from Hacker News

Python 3.14 Pre-Release

by tipsytoad on 1/13/25, 2:29 PM with 2 comments

  • by zahlman on 1/13/25, 6:48 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/25, 2:45 PM

    Pi-thon