Skip to content

Fix typing.TYPE_CHECKING docs to reflect PEP 649. #134813

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

Merged

Conversation

larryhastings
Copy link
Contributor

@larryhastings larryhastings commented May 27, 2025

typing.TYPE_CHECKING should no longer steer users towards manual or automatic stringization (and PEP 563); PEP 649 makes all that unnecessary.


📚 Documentation preview 📚: https://cpython-previews--134813.org.readthedocs.build/

typing.TYPE_CHECKING should no longer steer users towards
manual or automatic stringization (and PEP 563); PEP 649
makes all that unnecessary.
@JelleZijlstra JelleZijlstra added the needs backport to 3.14 bugs and security fixes label May 28, 2025
@larryhastings larryhastings merged commit d7256ae into python:main May 28, 2025
39 checks passed
@miss-islington-app
Copy link

Thanks @larryhastings for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs May 28, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 28, 2025
typing.TYPE_CHECKING should no longer steer users towards
manual or automatic stringization (and PEP 563); PEP 649
makes all that unnecessary.
(cherry picked from commit d7256ae)

Co-authored-by: larryhastings <larry@hastings.org>
@bedevere-app
Copy link

bedevere-app bot commented May 28, 2025

GH-134822 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label May 28, 2025
larryhastings added a commit that referenced this pull request May 28, 2025
…134822)

Fix typing.TYPE_CHECKING docs to reflect PEP 649. (GH-134813)

typing.TYPE_CHECKING should no longer steer users towards
manual or automatic stringization (and PEP 563); PEP 649
makes all that unnecessary.
(cherry picked from commit d7256ae)

Co-authored-by: larryhastings <larry@hastings.org>
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 skip issue skip news
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants