]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Should open files in binary mode!
authorGuido van Rossum <guido@python.org>
Fri, 5 Feb 1999 20:55:16 +0000 (20:55 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 5 Feb 1999 20:55:16 +0000 (20:55 +0000)
commit2013ba48a68fea36373e3c21be76083be4c774a0
tree325b2b221bc591c8b4fb98b975d79b8e247048ed
parentdfb4e24431e95acd42e9a7097dcc2885b71d8373
Should open files in binary mode!

Also finally get rid of some obsolete commented-out access statements.

A note about the previous checkin: I believe it's correct, but I found
something strange: the file Lib/test/audiotest.au in the Python
distribution was evidently encoded in u-LAW format but had its
encoding set to 2, i.e. linear-8.  I hope that this is a mistake
caused by some conversion program that produced this .au file; I just
found it on a website.
Lib/sunau.py