whatsnew: sunau/aifc/wave writeframes[raw] accept any bytes-like (#8311)

This commit is contained in:
R David Murray 2014-03-08 11:46:05 -05:00
parent 5d6240e871
commit cbf479ae64
4 changed files with 19 additions and 7 deletions

View File

@ -226,7 +226,7 @@ number of frames must be filled in.
file parameters have been set.
.. versionchanged:: 3.4
Any :term:`bytes-like object`\ s are now accepted.
Any :term:`bytes-like object` is now accepted.
.. method:: aifc.writeframesraw(data)
@ -235,7 +235,7 @@ number of frames must be filled in.
updated.
.. versionchanged:: 3.4
Any :term:`bytes-like object`\ s are now accepted.
Any :term:`bytes-like object` is now accepted.
.. method:: aifc.close()

View File

@ -251,7 +251,7 @@ AU_write objects, as returned by :func:`.open` above, have the following methods
Write audio frames, without correcting *nframes*.
.. versionchanged:: 3.4
Any :term:`bytes-like object`\ s are now accepted.
Any :term:`bytes-like object` is now accepted.
.. method:: AU_write.writeframes(data)
@ -259,7 +259,7 @@ AU_write objects, as returned by :func:`.open` above, have the following methods
Write audio frames and make sure *nframes* is correct.
.. versionchanged:: 3.4
Any :term:`bytes-like object`\ s are now accepted.
Any :term:`bytes-like object` is now accepted.
.. method:: AU_write.close()

View File

@ -226,7 +226,7 @@ Wave_write objects, as returned by :func:`.open`, have the following methods:
Write audio frames, without correcting *nframes*.
.. versionchanged:: 3.4
Any :term:`bytes-like object`\ s are now accepted.
Any :term:`bytes-like object` is now accepted.
.. method:: Wave_write.writeframes(data)
@ -237,7 +237,7 @@ Wave_write objects, as returned by :func:`.open`, have the following methods:
previously set value for *nframes*.
.. versionchanged:: 3.4
Any :term:`bytes-like object`\ s are now accepted.
Any :term:`bytes-like object` is now accepted.
Note that it is invalid to set any parameters after calling :meth:`writeframes`

View File

@ -540,7 +540,7 @@ Using ``ABC`` as a base class has essentially the same effect as specifying
aifc
----
The :meth:`~aifc.getparams` method now returns a namedtuple rather than a
The :meth:`~aifc.aifc.getparams` method now returns a namedtuple rather than a
plain tuple. (Contributed by Claudiu Popa in :issue:`17818`.)
:func:`aifc.open` now supports the context manager protocol: when used in a
@ -548,6 +548,10 @@ plain tuple. (Contributed by Claudiu Popa in :issue:`17818`.)
object will be called automatically at the end of the block. (Contributed by
Serhiy Storchacha in :issue:`16486`.)
The :meth:`~aifc.aifc.writeframesraw` and :meth:`~aifc.aifc.writeframes`
methods now accept any :term:`bytes-like object`. (Contributed by Serhiy
Storchaka in :issue:`8311`.)
argparse
--------
@ -1300,6 +1304,10 @@ in :issue:`18878`.)
support for writing 24 sample using the module. (Contributed by
Serhiy Storchaka in :issue:`19261`.)
The :meth:`~sunau.AU_write.writeframesraw` and
:meth:`~sunau.AU_write.writeframes` methods now accept any :term:`bytes-like
object`. (Contributed by Serhiy Storchaka in :issue:`8311`.)
sys
---
@ -1443,6 +1451,10 @@ by Claudiu Popa in :issue:`17616`.)
<wave-write-objects>`. (Contributed by David Jones, Guilherme Polo, and Serhiy
Storchaka in :issue:`5202`.)
The :meth:`~wave.Wave_write.writeframesraw` and
:meth:`~wave.Wave_write.writeframes` methods now accept any :term:`bytes-like
object`. (Contributed by Serhiy Storchaka in :issue:`8311`.)
weakref
-------