]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Make a few more tests pass with the new I/O library.
authorGuido van Rossum <guido@python.org>
Thu, 12 Apr 2007 22:55:07 +0000 (22:55 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 12 Apr 2007 22:55:07 +0000 (22:55 +0000)
commitdc0b1a106981ee204936221f4e0863bd1d7a6ba6
tree102949af2918a30ac4da920751e994c0df4af702
parentb6f1fdc90ca1f5826c5bd8e015a37563923144b5
Make a few more tests pass with the new I/O library.
Fix the truncate() semantics -- it should not affect the current position.
Switch wave.py/chunk.py to struct.unpack_from() to support bytes.
Don't use writelines() on binary files (test_fileinput.py).
Lib/chunk.py
Lib/io.py
Lib/test/test_fileinput.py
Lib/test/test_io.py
Lib/wave.py
Modules/_fileio.c