Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-92332: Docs-only deprecation oftyping.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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Fidget-Spinner merged 5 commits intopython:mainfromAlexWaygood:typing-dot-text
May 6, 2022

Conversation

AlexWaygood
Copy link
Member

Closes#92332

Copy link
Member

@Fidget-SpinnerFidget-Spinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks Alex.

AlexWaygood reacted with hooray emoji
@Fidget-Spinner
Copy link
Member

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.

AlexWaygood reacted with thumbs up emoji

@Fidget-SpinnerFidget-Spinner merged commit6f18b86 intopython:mainMay 6, 2022
@AlexWaygoodAlexWaygood deleted the typing-dot-text branchMay 6, 2022 10:17
@AlexWaygood
Copy link
MemberAuthor

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.
Copy link
Member

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.

Copy link
MemberAuthor

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):

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@JelleZijlstraJelleZijlstraJelleZijlstra left review comments

@hauntsaninjahauntsaninjahauntsaninja left review comments

@Fidget-SpinnerFidget-SpinnerFidget-Spinner approved these changes

@gvanrossumgvanrossumAwaiting requested review from gvanrossum

Assignees
No one assigned
Labels
docsDocumentation in the Doc dirtopic-typing
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Deprecatetyping.Text
5 participants
@AlexWaygood@Fidget-Spinner@JelleZijlstra@hauntsaninja@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp