-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
gh-92332: Docs-only deprecation of typing.Text
#92351
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Alex.
I'm going to merge this first in case we inadvertently miss the beta freeze cutoff. We can just fix up anything else in the docs if Jelle spots problems later. |
Thanks @Fidget-Spinner 😊 |
.. deprecated:: 3.11 | ||
Python 2 is no longer supported, and most type checkers also no longer | ||
support type checking Python 2 code. Users should now use | ||
:class:`str` instead of ``Text`` wherever possible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we add an explicit note here saying that removal is not currently planned? A "deprecated" note can make users think it will be removed soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(For future readers of this PR):
Closes #92332