Skip to content

Commit d0361cc

Browse files
committed
gh-104773: PEP 594: Remove the sndhdr module
Remove the Lib/test/sndhdrdata/ directory.
1 parent 586aca3 commit d0361cc

18 files changed

+9
-424
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
*.zip binary
1919

2020
# Specific binary files
21-
Lib/test/sndhdrdata/sndhdr.* binary
2221
PC/classicAppCompat.* binary
2322

2423
# Text files that should not be subject to eol conversion

Doc/library/sndhdr.rst

Lines changed: 0 additions & 104 deletions
This file was deleted.

Doc/library/superseded.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ backwards compatibility. They have been superseded by other modules.
2424
optparse.rst
2525
ossaudiodev.rst
2626
pipes.rst
27-
sndhdr.rst
2827
spwd.rst
2928
sunau.rst
3029
telnetlib.rst

Doc/whatsnew/3.13.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ Deprecated
102102
Removed
103103
=======
104104

105+
* Remove the ``sndhdr`` module, deprecated in Python 3.11: use the projects
106+
`filetype <https://pypi.org/project/filetype/>`_,
107+
`puremagic <https://pypi.org/project/puremagic/>`_,
108+
or `python-magic <https://pypi.org/project/python-magic/>`_ instead.
109+
(Contributed by Victor Stinner in :gh:`104773`.)
105110

106111

107112
Porting to Python 3.13

0 commit comments

Comments
 (0)