Skip to content

Python 3.14: Remove from __future__ import annotations #9

@akkornel

Description

@akkornel

Python 3.14 implements the lazy evaluation of annotations. It removes the need to manually make annotations into strings, and it replaces from __future__ import annotations (which does that automatically).

This is useful when classes reference themselves (for example, a classmethod of class X has a return type of X).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Python futureSomething that we can do when we increase our minimum-supported Python.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions