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

Guilherme Polo report at bugs.python.org
Tue Feb 10 13:28:43 CET 2009


Guilherme Polo <ggpolo at gmail.com> added the comment:

Wouldn't it be better if you only ignored the 'illegal seek' error
instead of ignoring any ioerror (should it even be always discarded) ? I
get a 'bad file descriptor' under Windows 7, but, again, can it be
always discarded ? 

You can also reproduce the problem without using wave:

>>> import sys
>>> sys.stdout.tell()

I'm really unsure about the proposed patch.

----------
nosy: +gpolo

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


More information about the Python-bugs-list mailing list