-
-
Notifications
You must be signed in to change notification settings - Fork 32k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@srittau can I trouble you for a review please? It concerns your work :). |
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.
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 |
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.
It is worth to add it in the "Deprecated" section below.
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.
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.
Thanks @Fidget-Spinner for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10. |
GH-27907 is a backport of this pull request to the 3.10 branch. |
pythonGH-27872) (cherry picked from commit 1a995b0) Co-authored-by: Ken Jin <[email protected]>
GH-27872) (cherry picked from commit 1a995b0) Co-authored-by: Ken Jin <[email protected]>
https://bugs.python.org/issue38291