Skip to content

Commit

Permalink
pythongh-104773: PEP 594: Remove the sndhdr module.
Browse files Browse the repository at this point in the history
Remove the Lib/test/sndhdrdata/ directory.
  • Loading branch information
vstinner committed May 22, 2023
1 parent 586aca3 commit 61556e3
Show file tree
Hide file tree
Showing 18 changed files with 9 additions and 424 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*.zip binary

# Specific binary files
Lib/test/sndhdrdata/sndhdr.* binary
PC/classicAppCompat.* binary

# Text files that should not be subject to eol conversion
Expand Down
104 changes: 0 additions & 104 deletions Doc/library/sndhdr.rst

This file was deleted.

1 change: 0 additions & 1 deletion Doc/library/superseded.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ backwards compatibility. They have been superseded by other modules.
optparse.rst
ossaudiodev.rst
pipes.rst
sndhdr.rst
spwd.rst
sunau.rst
telnetlib.rst
Expand Down
5 changes: 5 additions & 0 deletions Doc/whatsnew/3.13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ Deprecated
Removed
=======

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


Porting to Python 3.13
Expand Down
Loading

0 comments on commit 61556e3

Please sign in to comment.