]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #18950: Fix miscellaneous bugs in the sunau module.
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 28 Sep 2013 18:24:43 +0000 (21:24 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Sat, 28 Sep 2013 18:24:43 +0000 (21:24 +0300)
Au_read.readframes() now updates current file position and reads correct
number of frames from multichannel stream.  Au_write.writeframesraw() now
correctly updates current file position.  Au_read.getnframes() now returns an
integer (as in Python 2).  Au_read and Au_write now correctly works with file
object if start file position is not a zero.

1  2 
Lib/sunau.py
Misc/NEWS

diff --cc Lib/sunau.py
Simple merge
diff --cc Misc/NEWS
Simple merge