[issue5202] wave.py cannot write wave files into a shell pipeline

David Jones report at bugs.python.org
Fri Feb 13 11:45:53 CET 2009

David Jones <drj at pobox.com> added the comment:

On 12 Feb 2009, at 09:00, David Jones wrote:

> David Jones <drj at pobox.com> added the comment:
> The following program does a very basic do-i-get-back-what-i-wrote  
> test.
> sunau can't cope; I am investigating.

I see.  sunau uses mu-law compression by default which makes it non- 
invertable.  How stupid.  Inserting:

         w.setcomptype('NONE', 'Pointless Argument')

just after setframerate fixes the tests so that all 3 modules pass.

Of course, this is still only the most very basic test that one might  
want to do.  And it doesn't cover the case mentioned in this bug  
report anyway.

(drat, just found this, should've sent it yesterday)

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list