[Python-checkins] [3.10] gh-92871: Postpone the removal of typing.{io, re} to 3.13 (GH-98958) (#98986)
AlexWaygood
webhook-mailer at python.org
Wed Nov 2 05:12:48 EDT 2022
https://github.com/python/cpython/commit/e07086db03d2dc1cd2e2a24f6c9c0ddd422b4cf0
commit: e07086db03d2dc1cd2e2a24f6c9c0ddd422b4cf0
branch: 3.10
author: Jelle Zijlstra <jelle.zijlstra at gmail.com>
committer: AlexWaygood <Alex.Waygood at Gmail.com>
date: 2022-11-02T09:12:37Z
summary:
[3.10] gh-92871: Postpone the removal of typing.{io,re} to 3.13 (GH-98958) (#98986)
[3.10] gh-92871: Postpone the removal of typing.{io,re} to 3.13 (GH-98958).
(cherry picked from commit 65d1407737befc3e9430eda8ae14ab1c7f9d8c7a)
Co-authored-by: Sebastian Rittau <srittau at rittau.biz>
Co-authored-by: Sebastian Rittau <srittau at rittau.biz>
files:
M Doc/library/typing.rst
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 7a93b875c742..d415f149027f 100644
--- a/Doc/library/typing.rst
+++ b/Doc/library/typing.rst
@@ -1710,7 +1710,7 @@ Other concrete types
represent the types of I/O streams such as returned by
:func:`open`.
- .. deprecated-removed:: 3.8 3.12
+ .. deprecated-removed:: 3.8 3.13
The ``typing.io`` namespace is deprecated and will be removed.
These types should be directly imported from ``typing`` instead.
@@ -1724,7 +1724,7 @@ Other concrete types
``Pattern[str]``, ``Pattern[bytes]``, ``Match[str]``, or
``Match[bytes]``.
- .. deprecated-removed:: 3.8 3.12
+ .. deprecated-removed:: 3.8 3.13
The ``typing.re`` namespace is deprecated and will be removed.
These types should be directly imported from ``typing`` instead.
More information about the Python-checkins
mailing list