[New-bugs-announce] [issue11126] Wave.py does not always write proper length in header

jtidman report at bugs.python.org
Sat Feb 5 01:00:48 CET 2011


New submission from jtidman <jtidman at siliconcoral.com>:

wave.py does not always honor the sampwidth setting, especially on little endian machines.  If sampwidth is not one and big_endian is not set, then datawritten will not be muliplied by sampwidth, causing the header to be incorrect, and the file to appear to contain less data than it chould.

----------
components: Library (Lib)
files: patch.txt
messages: 127956
nosy: jtidman
priority: normal
severity: normal
status: open
title: Wave.py does not always write proper length in header
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file20682/patch.txt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11126>
_______________________________________


More information about the New-bugs-announce mailing list