(original) (raw)
changeset: 89510:b72615222c98 user: R David Murray rdmurray@bitdance.com date: Sat Mar 08 11:46:05 2014 -0500 files: Doc/library/aifc.rst Doc/library/sunau.rst Doc/library/wave.rst Doc/whatsnew/3.4.rst description: whatsnew: sunau/aifc/wave writeframes[raw] accept any bytes-like (#8311) diff -r b861c7717c79 -r b72615222c98 Doc/library/aifc.rst --- a/Doc/library/aifc.rst Sat Mar 08 11:14:29 2014 -0500 +++ b/Doc/library/aifc.rst Sat Mar 08 11:46:05 2014 -0500 @@ -226,7 +226,7 @@ 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 @@ updated. .. versionchanged:: 3.4 - Any :term:`bytes-like object`\ s are now accepted. + Any :term:`bytes-like object` is now accepted. .. method:: aifc.close() diff -r b861c7717c79 -r b72615222c98 Doc/library/sunau.rst --- a/Doc/library/sunau.rst Sat Mar 08 11:14:29 2014 -0500 +++ b/Doc/library/sunau.rst Sat Mar 08 11:46:05 2014 -0500 @@ -251,7 +251,7 @@ 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 @@ 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() diff -r b861c7717c79 -r b72615222c98 Doc/library/wave.rst --- a/Doc/library/wave.rst Sat Mar 08 11:14:29 2014 -0500 +++ b/Doc/library/wave.rst Sat Mar 08 11:46:05 2014 -0500 @@ -226,7 +226,7 @@ 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 @@ 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` diff -r b861c7717c79 -r b72615222c98 Doc/whatsnew/3.4.rst --- a/Doc/whatsnew/3.4.rst Sat Mar 08 11:14:29 2014 -0500 +++ b/Doc/whatsnew/3.4.rst Sat Mar 08 11:46:05 2014 -0500 @@ -540,7 +540,7 @@ 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 @@ 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 @@ 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 @@`. (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 -------/rdmurray@bitdance.com