Skip to content

Conversation

@Fidget-Spinner
Copy link
Member

@Fidget-Spinner Fidget-Spinner commented Aug 21, 2021

@Fidget-Spinner
Copy link
Member Author

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

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

@srittau srittau left a comment

Choose a reason for hiding this comment

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

LGTM

if they want runtime protocols.
(Contributed by Yurii Karabas in :issue:`38908`)
Importing from the ``typing.io`` and ``typing.re`` submodules will now emit
Copy link
Member

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
Member Author

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 it https://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.

@ambv ambv merged commit 1a995b0 into python:main Aug 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 the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Aug 23, 2021
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 23, 2021
miss-islington added a commit that referenced this pull request Aug 23, 2021
@Fidget-Spinner Fidget-Spinner deleted the whatsnew_warnings branch August 29, 2021 16:18
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 news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants