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

bpo-38291: Update 3.10 WhatsNew with typing.{io|re} DeprecationWarning#27872

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
ambv merged 3 commits intopython:mainfromFidget-Spinner:whatsnew_warnings
Aug 23, 2021

Conversation

Fidget-Spinner
Copy link
Member

@Fidget-SpinnerFidget-Spinner commentedAug 21, 2021
edited by bedevere-bot
Loading

@Fidget-Spinner
Copy link
MemberAuthor

@srittau can I trouble you for a review please? It concerns your work :).

@Fidget-SpinnerFidget-Spinner added the needs backport to 3.10only security fixes labelAug 21, 2021
@Fidget-SpinnerFidget-Spinner changed the titlebpo-38291: Add note about DeprecationWarning when importing from typing.{io|re}bpo-38291: Update 3.10 WhatsNew with typing.{io|re} DeprecationWarningAug 21, 2021
Copy link
Contributor

@srittausrittau left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -1401,6 +1401,13 @@ subclasses with the :func:`runtime_checkable` decorator
if they want runtime protocols.
(Contributed by Yurii Karabas in :issue:`38908`)

Importing from the ``typing.io`` and ``typing.re`` submodules will now emit

Choose a reason for hiding this comment

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

It is worth to add it in the "Deprecated" section below.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Initially I thought no because What's new in 3.8 should have ithttps://docs.python.org/3/whatsnew/3.8.html#deprecated, but surprisingly it doesn't. So yep we should add it as a proper reminder this time.

@ambvambv merged commit1a995b0 intopython:mainAug 23, 2021
@miss-islington
Copy link
Contributor

Thanks@Fidget-Spinner for the PR, and@ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-27907 is a backport of this pull request to the3.10 branch.

@bedevere-botbedevere-bot removed the needs backport to 3.10only security fixes labelAug 23, 2021
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestAug 23, 2021
pythonGH-27872)(cherry picked from commit1a995b0)Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
miss-islington added a commit that referenced this pull requestAug 23, 2021
GH-27872)(cherry picked from commit1a995b0)Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
@Fidget-SpinnerFidget-Spinner deleted the whatsnew_warnings branchAugust 29, 2021 16:18
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@serhiy-storchakaserhiy-storchakaserhiy-storchaka left review comments

@srittausrittausrittau approved these changes

@gvanrossumgvanrossumAwaiting requested review from gvanrossum

Assignees
No one assigned
Labels
docsDocumentation in the Doc dirskip news
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

7 participants
@Fidget-Spinner@miss-islington@bedevere-bot@srittau@serhiy-storchaka@ambv@the-knights-who-say-ni

[8]ページ先頭

©2009-2025 Movatter.jp