Skip to content

Commit dffb9a9

Browse files
CAM-Gerlachrhettinger
authored andcommitted
pythongh-92611: Clarify planned removal version in PEP 594-deprecated modules (pythonGH-92793)
As discussed in python#92611 and python#92564 and as a followup to PR python#92612 , this 3.11+ only PR uses the proper `deprecated-removed` role for the modules deprecated by PEP 593 (PEP-594) to clearly indicate to users that a removal version is planned and what it is, so they can prepare accordingly or voice any unanticipated impacts. Related to python#92792 ; if we decide to backport that PR, the upgrade to using `deprecated-removed` on those functions can be moved to this one.
1 parent b2df9d7 commit dffb9a9

22 files changed

+25
-25
lines changed

Doc/library/aifc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
single: AIFF-C
1414

1515

16-
.. deprecated:: 3.11
16+
.. deprecated-removed:: 3.11 3.13
1717
The :mod:`aifc` module is deprecated
1818
(see :pep:`PEP 594 <594#aifc>` for details).
1919

Doc/library/asynchat.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
**Source code:** :source:`Lib/asynchat.py`
1212

13-
.. deprecated:: 3.6
14-
:mod:`asynchat` will be removed in Python 3.12
13+
.. deprecated-removed:: 3.6 3.12
14+
The :mod:`asynchat` module is deprecated
1515
(see :pep:`PEP 594 <594#asynchat>` for details).
1616
Please use :mod:`asyncio` instead.
1717

Doc/library/asyncore.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
1414
**Source code:** :source:`Lib/asyncore.py`
1515

16-
.. deprecated:: 3.6
17-
:mod:`asyncore` will be removed in Python 3.12
16+
.. deprecated-removed:: 3.6 3.12
17+
The :mod:`asyncore` module is deprecated
1818
(see :pep:`PEP 594 <594#asyncore>` for details).
1919
Please use :mod:`asyncio` instead.
2020

Doc/library/audioop.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
:synopsis: Manipulate raw audio data.
66
:deprecated:
77

8-
.. deprecated:: 3.11
8+
.. deprecated-removed:: 3.11 3.13
99
The :mod:`audioop` module is deprecated
1010
(see :pep:`PEP 594 <594#audioop>` for details).
1111

Doc/library/cgi.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
single: URL
1616
single: Common Gateway Interface
1717

18-
.. deprecated:: 3.11
18+
.. deprecated-removed:: 3.11 3.13
1919
The :mod:`cgi` module is deprecated
2020
(see :pep:`PEP 594 <594#cgi>` for details and alternatives).
2121

Doc/library/cgitb.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
single: exceptions; in CGI scripts
1717
single: tracebacks; in CGI scripts
1818

19-
.. deprecated:: 3.11
19+
.. deprecated-removed:: 3.11 3.13
2020
The :mod:`cgitb` module is deprecated
2121
(see :pep:`PEP 594 <594#cgitb>` for details).
2222

Doc/library/chunk.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
single: Real Media File Format
1818
single: RMFF
1919

20-
.. deprecated:: 3.11
20+
.. deprecated-removed:: 3.11 3.13
2121
The :mod:`chunk` module is deprecated
2222
(see :pep:`PEP 594 <594#chunk>` for details).
2323

Doc/library/crypt.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
single: crypt(3)
1717
pair: cipher; DES
1818

19-
.. deprecated:: 3.11
19+
.. deprecated-removed:: 3.11 3.13
2020
The :mod:`crypt` module is deprecated
2121
(see :pep:`PEP 594 <594#crypt>` for details and alternatives).
2222
The :mod:`hashlib` module is a potential replacement for certain use cases.

Doc/library/imghdr.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
**Source code:** :source:`Lib/imghdr.py`
99

10-
.. deprecated:: 3.11
10+
.. deprecated-removed:: 3.11 3.13
1111
The :mod:`imghdr` module is deprecated
1212
(see :pep:`PEP 594 <594#imghdr>` for details and alternatives).
1313

Doc/library/imp.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
**Source code:** :source:`Lib/imp.py`
99

10-
.. deprecated:: 3.4
10+
.. deprecated-removed:: 3.4 3.12
1111
The :mod:`imp` module is deprecated in favor of :mod:`importlib`.
1212

1313
.. index:: statement: import

0 commit comments

Comments
 (0)