Skip to content

Commit f2f7335

Browse files
committed
gh-104773: PEP 594: Remove the chunk module
The module has no tests.
1 parent 9d457e1 commit f2f7335

File tree

9 files changed

+8
-320
lines changed

9 files changed

+8
-320
lines changed

Doc/library/chunk.rst

-142
This file was deleted.

Doc/library/superseded.rst

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

1313
aifc.rst
1414
audioop.rst
15-
chunk.rst
1615
crypt.rst
1716
imghdr.rst
1817
msilib.rst

Doc/whatsnew/2.0.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ Module changes
10311031
Lots of improvements and bugfixes were made to Python's extensive standard
10321032
library; some of the affected modules include :mod:`readline`,
10331033
:mod:`ConfigParser`, :mod:`!cgi`, :mod:`calendar`, :mod:`posix`, :mod:`readline`,
1034-
:mod:`xmllib`, :mod:`aifc`, :mod:`chunk, wave`, :mod:`random`, :mod:`shelve`,
1034+
:mod:`xmllib`, :mod:`aifc`, :mod:`!chunk`, :mod:`wave`, :mod:`random`, :mod:`shelve`,
10351035
and :mod:`nntplib`. Consult the CVS logs for the exact patch-by-patch details.
10361036

10371037
Brian Gallew contributed OpenSSL support for the :mod:`socket` module. OpenSSL

Doc/whatsnew/3.11.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1731,7 +1731,7 @@ Modules
17311731
slated for removal in Python 3.13:
17321732

17331733
+---------------------+---------------------+---------------------+---------------------+---------------------+
1734-
| :mod:`aifc` | :mod:`chunk` | :mod:`msilib` | :mod:`!pipes` | :mod:`!telnetlib` |
1734+
| :mod:`aifc` | :mod:`!chunk` | :mod:`msilib` | :mod:`!pipes` | :mod:`!telnetlib` |
17351735
+---------------------+---------------------+---------------------+---------------------+---------------------+
17361736
| :mod:`audioop` | :mod:`crypt` | :mod:`nis` | :mod:`!sndhdr` | :mod:`uu` |
17371737
+---------------------+---------------------+---------------------+---------------------+---------------------+

Doc/whatsnew/3.12.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ Modules (see :pep:`594`):
890890
* :mod:`audioop`
891891
* :mod:`!cgi`
892892
* :mod:`!cgitb`
893-
* :mod:`chunk`
893+
* :mod:`!chunk`
894894
* :mod:`crypt`
895895
* :mod:`imghdr`
896896
* :mod:`!mailcap`

Doc/whatsnew/3.13.rst

+3
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@ Removed
168168
The :mod:`mimetypes` module provides an alternative.
169169
(Contributed by Victor Stinner in :gh:`104773`.)
170170

171+
* :pep:`594`: Remove the :mod:`!chunk` module, deprecated in Python 3.11.
172+
(Contributed by Victor Stinner in :gh:`104773`.)
173+
171174

172175
Porting to Python 3.13
173176
======================

Lib/chunk.py

-173
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
:pep:`594`: Remove the :mod:`!chunk` module, deprecated in Python 3.11.
2+
Patch by Victor Stinner.

Python/stdlib_module_names.h

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)