gh-92871: Postpone the removal of typing.{io,re} to 3.13 (GH-98958)

(cherry picked from commit 65d1407737)

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
This commit is contained in:
Miss Islington (bot) 2022-11-01 21:00:13 -07:00 committed by GitHub
parent 67f63b82b8
commit b2e28c8700
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2009,7 +2009,7 @@ Other concrete types
represent the types of I/O streams such as returned by represent the types of I/O streams such as returned by
:func:`open`. :func:`open`.
.. deprecated-removed:: 3.8 3.12 .. deprecated-removed:: 3.8 3.13
The ``typing.io`` namespace is deprecated and will be removed. The ``typing.io`` namespace is deprecated and will be removed.
These types should be directly imported from ``typing`` instead. These types should be directly imported from ``typing`` instead.
@ -2023,7 +2023,7 @@ Other concrete types
``Pattern[str]``, ``Pattern[bytes]``, ``Match[str]``, or ``Pattern[str]``, ``Pattern[bytes]``, ``Match[str]``, or
``Match[bytes]``. ``Match[bytes]``.
.. deprecated-removed:: 3.8 3.12 .. deprecated-removed:: 3.8 3.13
The ``typing.re`` namespace is deprecated and will be removed. The ``typing.re`` namespace is deprecated and will be removed.
These types should be directly imported from ``typing`` instead. These types should be directly imported from ``typing`` instead.
@ -2862,7 +2862,7 @@ convenience. This is subject to change, and not all deprecations are listed.
+----------------------------------+---------------+-------------------+----------------+ +----------------------------------+---------------+-------------------+----------------+
| Feature | Deprecated in | Projected removal | PEP/issue | | 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 | | | | | submodules | | | |
+----------------------------------+---------------+-------------------+----------------+ +----------------------------------+---------------+-------------------+----------------+
| ``typing`` versions of standard | 3.9 | Undecided | :pep:`585` | | ``typing`` versions of standard | 3.9 | Undecided | :pep:`585` |