commit | e50b0a44cb60f41e2cd8d30c920079a95b5c1965 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Jun 17 18:34:40 1998 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Jun 17 18:34:40 1998 +0000 |
tree | d117c98ab676fc0ea2ae24c42d77643d9af9727c | |
parent | 777dcc6b21573056ec51b5642ca989581140c4d9 [diff] |
In class _Subfile, make sure read(n) can't read beyond EOF. Also allow negative numbers to specify read until EOF (like for a regular file's read() method).