From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 2 Nov 2022 04:00:13 +0000 (-0700) Subject: gh-92871: Postpone the removal of typing.{io,re} to 3.13 (GH-98958) X-Git-Tag: v3.11.1~160 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b2e28c8700856f6891a5c62f5c05744b249682b5;p=thirdparty%2FPython%2Fcpython.git gh-92871: Postpone the removal of typing.{io,re} to 3.13 (GH-98958) (cherry picked from commit 65d1407737befc3e9430eda8ae14ab1c7f9d8c7a) Co-authored-by: Sebastian Rittau --- diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 313c67b75c0c..9513842d1a0d 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. @@ -2862,7 +2862,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` |