diff options
author | Victor Stinner <vstinner@python.org> | 2023-05-25 15:59:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-25 15:59:00 (GMT) |
commit | f66be6b11a0329e90cb0630c24fd8b07ce6b5c7c (patch) | |
tree | d76024eb76ae73d937a3871540f89ab094272714 /Doc/whatsnew/3.4.rst | |
parent | 036da3bd43aa2593d17d2fb73d4794f9965c577d (diff) | |
download | cpython-f66be6b11a0329e90cb0630c24fd8b07ce6b5c7c.zip cpython-f66be6b11a0329e90cb0630c24fd8b07ce6b5c7c.tar.gz cpython-f66be6b11a0329e90cb0630c24fd8b07ce6b5c7c.tar.bz2 |
gh-104773: PEP 594: Remove the audioop module (#104937)
Diffstat (limited to 'Doc/whatsnew/3.4.rst')
-rw-r--r-- | Doc/whatsnew/3.4.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index bcc9410..f3a8873 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -629,14 +629,14 @@ by Lucas Maystre in :issue:`11175`.) audioop ------- -:mod:`audioop` now supports 24-bit samples. (Contributed by Serhiy Storchaka +:mod:`!audioop` now supports 24-bit samples. (Contributed by Serhiy Storchaka in :issue:`12866`.) -New :func:`~audioop.byteswap` function converts big-endian samples to +New :func:`~!audioop.byteswap` function converts big-endian samples to little-endian and vice versa. (Contributed by Serhiy Storchaka in :issue:`19641`.) -All :mod:`audioop` functions now accept any :term:`bytes-like object`. Strings +All :mod:`!audioop` functions now accept any :term:`bytes-like object`. Strings are not accepted: they didn't work before, now they raise an error right away. (Contributed by Serhiy Storchaka in :issue:`16685`.) @@ -2434,7 +2434,7 @@ Changes in the Python API matched the input type, so if your code was depending on the return value being, say, a ``bytearray``, you will need to change your code. -* :mod:`audioop` functions now raise an error immediately if passed string +* :mod:`!audioop` functions now raise an error immediately if passed string input, instead of failing randomly later on (:issue:`16685`). * The new *convert_charrefs* argument to :class:`~html.parser.HTMLParser` |