Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
JelleZijlstra opened this issue May 8, 2022 · 2 comments
Labels
docs Documentation in the Doc dir easy topic-typing

Comments

@JelleZijlstra
Copy link
Member

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.

@JelleZijlstra
Copy link
Member Author

JelleZijlstra added a commit to JelleZijlstra/cpython that referenced this issue May 9, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 12, 2022
…_future__ import annotations" (pythonGH-92568)

(cherry picked from commit 6582c96)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
JelleZijlstra added a commit that referenced this issue May 12, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 12, 2022
…_future__ import annotations" (pythonGH-92568)

(cherry picked from commit 6582c96)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
JelleZijlstra added a commit to JelleZijlstra/cpython that referenced this issue May 12, 2022
…from __future__ import annotations" (pythonGH-92568).

(cherry picked from commit 6582c96)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
miss-islington added a commit that referenced this issue May 12, 2022
…e__ import annotations" (GH-92568)

(cherry picked from commit 6582c96)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
miss-islington added a commit that referenced this issue May 12, 2022
…e__ import annotations" (GH-92568)

(cherry picked from commit 6582c96)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
JelleZijlstra added a commit that referenced this issue May 12, 2022
…_future__ import annotations" (GH-92568). (#92726)

(cherry picked from commit 6582c96)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
@hauntsaninja
Copy link
Contributor

Seems like this was added in #92568

hello-adam pushed a commit to hello-adam/cpython that referenced this issue Jun 2, 2022
…from __future__ import annotations" (pythonGH-92568). (python#92726)

(cherry picked from commit 6582c96)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir easy topic-typing
Projects
None yet
Development

No branches or pull requests

3 participants