Skip to content

Docs claim from __future__ import annotations will be on by default in 3.11 #92436

Closed
@JelleZijlstra

Description

@JelleZijlstra

https://docs.python.org/3.11/library/__future__.html says the annotations __future__ import is mandatory in 3.11, but it won't be. Right now, it's still undetermined whether this import will ever become the default; we may go with PEP-649's behavior or a combination of the two instead.

In the docs, I think we should just say "To be determined". Optionally, we could add some discussion and link to the SC's pronouncements on the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions