Message72516
The way I read the documentation, file.read() (and that's what we're
talking about) is still not guaranteed to read all the bytes of the
file. But, you're right, that is the accepted semantics. So the
documentation should change, too.
However, the "read" method on an SSLSocket, which is not a file()
subclass, is *not* guaranteed to return N bytes, it's guaranteed to
return at most N bytes. Call "makefile" on SSLSocket if you need a
file-like object. |
|
Date |
User |
Action |
Args |
2008-09-04 20:03:22 | janssen | set | recipients:
+ janssen, ellisj |
2008-09-04 20:03:22 | janssen | set | messageid: <1220558602.61.0.858885949857.issue1291446@psf.upfronthosting.co.za> |
2008-09-04 20:03:22 | janssen | link | issue1291446 messages |
2008-09-04 20:03:21 | janssen | create | |
|