]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Support name and mode attributes on all file types.
authorGuido van Rossum <guido@python.org>
Fri, 13 Apr 2007 18:42:35 +0000 (18:42 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 13 Apr 2007 18:42:35 +0000 (18:42 +0000)
commit13633bb8c5bd2dbd2b9955539495ac6fb632776c
treeec0bc79cb915802f9e32b371b6b2cffdbfd4e52e
parent913dd0be52f28fbc5036d95722b80222880706fd
Support name and mode attributes on all file types.
Don't read more than one line when reading text from a tty device.
Add peek() and read1() methods.
Return str instead of unicode when return ASCII characters in text mode.
Lib/io.py
Lib/test/test_bytes.py
Lib/test/test_fileio.py