Skip to content

Commit 7cbc500

Browse files
committed
gh-104773: PEP 594: Remove cgi and cgitb modules
test_pyclbr no longer tests the cgi module.
1 parent 2e5d8a9 commit 7cbc500

14 files changed

+6
-2721
lines changed

Doc/library/cgi.rst

-564
This file was deleted.

Doc/library/cgitb.rst

-89
This file was deleted.

Doc/library/security_warnings.rst

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ The following modules have specific security considerations:
99

1010
* :mod:`base64`: :ref:`base64 security considerations <base64-security>` in
1111
:rfc:`4648`
12-
* :mod:`cgi`: :ref:`CGI security considerations <cgi-security>`
1312
* :mod:`hashlib`: :ref:`all constructors take a "usedforsecurity" keyword-only
1413
argument disabling known insecure and blocked algorithms
1514
<hashlib-usedforsecurity>`

Doc/library/superseded.rst

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ backwards compatibility. They have been superseded by other modules.
1212

1313
aifc.rst
1414
audioop.rst
15-
cgi.rst
16-
cgitb.rst
1715
chunk.rst
1816
crypt.rst
1917
imghdr.rst

Doc/whatsnew/3.12.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -805,8 +805,8 @@ Modules (see :pep:`594`):
805805

806806
* :mod:`aifc`
807807
* :mod:`audioop`
808-
* :mod:`cgi`
809-
* :mod:`cgitb`
808+
* ``cgi``
809+
* ``cgitb``
810810
* :mod:`chunk`
811811
* :mod:`crypt`
812812
* :mod:`imghdr`

Doc/whatsnew/3.13.rst

+2
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ Deprecated
102102
Removed
103103
=======
104104

105+
* Remove the ``cgi`` and ``cgitb`` modules, deprecated in Python 3.11.
106+
(Contributed by Victor Stinner in :gh:`104773`.)
105107

106108

107109
Porting to Python 3.13

0 commit comments

Comments
 (0)