diff options
author | Guido van Rossum <guido@python.org> | 2002-08-08 01:02:16 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-08-08 01:02:16 (GMT) |
commit | 443fec3dd9c1a2c60b538af0504d4926e633b9b4 (patch) | |
tree | 4359874f75a3b773e5f7dc11bc16a3d2548c38d4 /Objects | |
parent | 8c94383fa8a58447652dacf17becd640e4b2eacf (diff) | |
download | cpython-443fec3dd9c1a2c60b538af0504d4926e633b9b4.zip cpython-443fec3dd9c1a2c60b538af0504d4926e633b9b4.tar.gz cpython-443fec3dd9c1a2c60b538af0504d4926e633b9b4.tar.bz2 |
Major restructuring of _fileobject. Hopefully several things now work
correctly (the test at least succeed, but they don't test everything yet).
Also fix a performance problem in read(-1): in unbuffered mode, this would
read 1 byte at a time. Since we're reading until EOF, that doesn't make
sense. Use the default buffer size if _rbufsize is <= 1.
Diffstat (limited to 'Objects')
0 files changed, 0 insertions, 0 deletions