[Python-checkins] gh-92871: Postpone the removal of typing.{io, re} to 3.13 (#98958)
JelleZijlstra
webhook-mailer at python.org
Tue Nov 1 23:52:13 EDT 2022
https://github.com/python/cpython/commit/65d1407737befc3e9430eda8ae14ab1c7f9d8c7a
commit: 65d1407737befc3e9430eda8ae14ab1c7f9d8c7a
branch: main
author: Sebastian Rittau <srittau at rittau.biz>
committer: JelleZijlstra <jelle.zijlstra at gmail.com>
date: 2022-11-01T20:51:45-07:00
summary:
gh-92871: Postpone the removal of typing.{io,re} to 3.13 (#98958)
files:
M Doc/library/typing.rst
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 8c8286059d53..0ec4499f94f5 100644
--- a/Doc/library/typing.rst
+++ b/Doc/library/typing.rst
@@ -2009,7 +2009,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.
@@ -2023,7 +2023,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.
@@ -2868,7 +2868,7 @@ convenience. This is subject to change, and not all deprecations are listed.
+----------------------------------+---------------+-------------------+----------------+
| Feature | Deprecated in | Projected removal | PEP/issue |
+==================================+===============+===================+================+
-| ``typing.io`` and ``typing.re`` | 3.8 | 3.12 | :issue:`38291` |
+| ``typing.io`` and ``typing.re`` | 3.8 | 3.13 | :issue:`38291` |
| submodules | | | |
+----------------------------------+---------------+-------------------+----------------+
| ``typing`` versions of standard | 3.9 | Undecided | :pep:`585` |
More information about the Python-checkins
mailing list