Thomas Jollans tho...@jollans.com added the comment:
Attached is a patch against the current py3k trunk that fixes this. (as far as
I can tell)
--
keywords: +patch
Added file: http://bugs.python.org/file17580/sunau-bytes.diff
___
Python tracker
Thomas Jollans tho...@jollans.com added the comment:
test case for sunau, as requested. Loosely based on test_wave.
--
Added file: http://bugs.python.org/file17582/sunau-test.diff
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
test case for sunau, as requested. Loosely based on test_wave.
Ok great. Commited to py3k (r81809) and 3.1 (r81810).
--
resolution: - fixed
status: open - closed
___
Python tracker
New submission from Thomas Jollans tho...@jollans.com:
The sunau module, essentially, doesn't work. This looks like a problem with
the bytes/unicode transition of str in Python 3.x vs Python 2:
Python 3.1.2 (r312:79147, Apr 15 2010, 15:35:48)
[GCC 4.4.3] on linux2
Type help, copyright,