commit | 13633bb8c5bd2dbd2b9955539495ac6fb632776c | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Apr 13 18:42:35 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Apr 13 18:42:35 2007 +0000 |
tree | ec0bc79cb915802f9e32b371b6b2cffdbfd4e52e | |
parent | 913dd0be52f28fbc5036d95722b80222880706fd [diff] |
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.