8000 gh-104773: PEP 594: Remove the aifc module (#104933) · python/cpython@036da3b · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 036da3b

Browse files
authored
gh-104773: PEP 594: Remove the aifc module (#104933)
* Remove .aifc and .aiff test files of Lib/test/audiodata/ * Remove Lib/test/Sine-1000Hz-300ms.aif test file
1 parent 076b620 commit 036da3b

25 files changed

+20
-1688
lines changed

Doc/library/aifc.rst

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

Doc/library/superseded.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ backwards compatibility. They have been superseded by other modules.
1010

1111
.. toctree::
1212

13-
aifc.rst
1413
audioop.rst
1514
chunk.rst
1615
imghdr.rst

Doc/library/wave.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Wave_read objects, as returned by :func:`.open`, have the following methods:
119119

120120
Rewind the file pointer to the beginning of the audio stream.
121121

122-
The following two methods are defined for compatibility with the :mod:`aifc`
122+
The following two methods are defined for compatibility with the old :mod:`!aifc`
123123
module, and don't do anything interesting.
124124

125125

Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ Doc/install/index.rst
7575
Doc/library/__future__.rst
7676
Doc/library/_thread.rst
7777
Doc/library/abc.rst
78-
Doc/library/aifc.rst
7978
Doc/library/ast.rst
8079
Doc/library/asyncio-dev.rst
8180
Doc/library/asyncio-eventloop.rst

Doc/whatsnew/2.0.rst

Lines changed: 1 addition & 1 deletion
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, 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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ and will be removed in Python 3.13.
918918

919919
Modules (see :pep:`594`):
920920

921-
* :mod:`aifc`
921+
* :mod:`!aifc`
922922
* :mod:`audioop`
923923
* :mod:`!cgi`
924924
* :mod:`!cgitb`

Doc/whatsnew/3.13.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@ Removed
221221
the :mod:`base64` module is a modern alternative.
222222
(Contributed by Victor Stinner in :gh:`104773`.)
223223

224+
* :pep:`594`: Remove the :mod:`!aifc` module, deprecated in Python 3.11.
225+
(Contributed by Victor Stinner in :gh:`104773`.)
226+
224227

225228
Porting to Python 3.13
226229
======================

Doc/whatsnew/3.4.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -605,15 +605,15 @@ Using ``ABC`` as a base class has essentially the same effect as specifying
605605
aifc
606606
----
607607

608-
The :meth:`~aifc.aifc.getparams` method now returns a namedtuple rather than a
608+
The :meth:`~!aifc.aifc.getparams` method now returns a namedtuple rather than a
609609
plain tuple. (Contributed by Claudiu Popa in :issue:`17818`.)
610610

611-
:func:`aifc.open` now supports the context management protocol: when used in a
612-
:keyword:`with` block, the :meth:`~aifc.aifc.close` method of the returned
611+
:func:`!aifc.open` now supports the context management protocol: when used in a
612+
:keyword:`with` block, the :meth:`~!aifc.aifc.close` method of the returned
613613
object will be called automatically at the end of the block. (Contributed by
614614
Serhiy Storchacha in :issue:`16486`.)
615615

616-
The :meth:`~aifc.aifc.writeframesraw` and :meth:`~aifc.aifc.writeframes`
616+
The :meth:`~!aifc.aifc.writeframesraw` and :meth:`~!aifc.aifc.writeframes`
617617
methods now accept any :term:`bytes-like object`. (Contributed by Serhiy
618618
Storchaka in :issue:`8311`.)
619619

Doc/whatsnew/3.7.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1940,8 +1940,8 @@ Deprecated Python modules, functions and methods
19401940
aifc
19411941
----
19421942

1943-
:func:`aifc.openfp` has been deprecated and will be removed in Python 3.9.
1944-
Use :func:`aifc.open` instead.
1943+
:func:`!aifc.openfp` has been deprecated and will be removed in Python 3.9.
1944+
Use :func:`!aifc.open` instead.
19451945
(Contributed by Brian Curtin in :issue:`31985`.)
19461946

19471947

0 commit comments

Comments
 (0)
0