Skip to content

Commit 77d7ec5

Browse files
authored
gh-104773: PEP 594: Remove the chunk module (#104868)
The module had no tests.
1 parent f66be6b commit 77d7ec5

File tree

10 files changed

+8
-321
lines changed

10 files changed

+8
-321
lines changed

Diff for: Doc/library/chunk.rst

-142
This file was deleted.

Diff for: Doc/library/superseded.rst

-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@ backwards compatibility. They have been superseded by other modules.
1010

1111
.. toctree::
1212

13-
chunk.rst
1413
imghdr.rst
1514
optparse.rst

Diff for: Doc/tools/.nitignore

-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ Doc/library/bisect.rst
8989
Doc/library/bz2.rst
9090
Doc/library/calendar.rst
9191
Doc/library/cgi.rst
92-
Doc/library/chunk.rst
9392
Doc/library/cmath.rst
9493
Doc/library/cmd.rst
9594
Doc/library/code.rst

Diff for: 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

Diff for: 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
+---------------------+---------------------+---------------------+---------------------+---------------------+

Diff for: Doc/whatsnew/3.12.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ Modules (see :pep:`594`):
922922
* :mod:`!audioop`
923923
* :mod:`!cgi`
924924
* :mod:`!cgitb`
925-
* :mod:`chunk`
925+
* :mod:`!chunk`
926926
* :mod:`!crypt`
927927
* :mod:`imghdr`
928928
* :mod:`!mailcap`

Diff for: Doc/whatsnew/3.13.rst

+3
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,9 @@ Removed
227227
* :pep:`594`: Remove the :mod:`!audioop` module, deprecated in Python 3.11.
228228
(Contributed by Victor Stinner in :gh:`104773`.)
229229

230+
* :pep:`594`: Remove the :mod:`!chunk` module, deprecated in Python 3.11.
231+
(Contributed by Victor Stinner in :gh:`104773`.)
232+
230233

231234
Porting to Python 3.13
232235
======================

Diff for: 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.

Diff for: 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)