]> granicus.if.org Git - python/commit
In class _Subfile, make sure read(n) can't read beyond EOF. Also
authorGuido van Rossum <guido@python.org>
Wed, 17 Jun 1998 18:34:40 +0000 (18:34 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 17 Jun 1998 18:34:40 +0000 (18:34 +0000)
commite50b0a44cb60f41e2cd8d30c920079a95b5c1965
treed117c98ab676fc0ea2ae24c42d77643d9af9727c
parent777dcc6b21573056ec51b5642ca989581140c4d9
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).
Lib/mailbox.py