Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
85915636
Kaydet (Commit)
85915636
authored
Mar 08, 2014
tarafından
R David Murray
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
whatsnew: audioop accepts any bytes-like, rejects strings.
üst
6c50101f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
audioop.rst
Doc/library/audioop.rst
+2
-4
3.4.rst
Doc/whatsnew/3.4.rst
+8
-1
No files found.
Doc/library/audioop.rst
Dosyayı görüntüle @
85915636
...
...
@@ -12,10 +12,8 @@ integers, unless specified otherwise.
.. versionchanged:: 3.4
Support for 24-bit samples was added.
.. versionchanged:: 3.4
Any :term:`bytes-like object`\ s are now accepted by all functions in this
module. Strings no more supported.
All functions now accept any :term:`bytes-like object`.
String input now results in an immediate error.
.. index::
single: Intel/DVI ADPCM
...
...
Doc/whatsnew/3.4.rst
Dosyayı görüntüle @
85915636
...
...
@@ -554,12 +554,16 @@ by Lucas Maystre in :issue:`11175`.)
audioop
-------
The module
now supports 24-bit samples. (Contributed by Serhiy Storchaka
:mod:`audioop`
now supports 24-bit samples. (Contributed by Serhiy Storchaka
in :issue:`12866`.)
Added the :func:`~audioop.byteswap` function to convert big-endian samples
to little-endian and vice versa (:issue:`19641`).
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`.)
base64
------
...
...
@@ -2050,6 +2054,9 @@ 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
input, instead of failing randomly later on (:issue:`16685`).
Changes in the C API
--------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment