On 7/6/05, Guido van Rossum
Looks ok to me, but have you tested this with other software that reads/writes wave files?
It appears to work, but I haven't done enough testing to be confident.
You seem to be speculating about the format where you should be reading the reference documentation for this file format (alas, I can't help you find it -- you can Google for it as well as I can :).
This site says it's a "long": http://www.borg.com/~jglatt/tech/wave.htm This site says it's a "ulong": http://www.borg.com/~jglatt/tech/aboutiff.htm Unsigned makes more sense, considering it's a byte count and would never be negative. I've CC'd Erik de Castro Lopo, whose word is more definitive than random websites.
Also, patches, are best submitted to SourceForge. Read python.org/dev/.
Oh, sorry, the patch was only to illustrate my idea. I'll submit a proper patch to SF once I hear from Erik. Regards, Mark markrages@gmail -- You think that it is a secret, but it never has been one. - fortune cookie