[issue1291446] SSLObject breaks read semantics

Jonathan Ellis report at bugs.python.org
Thu Sep 4 07:05:15 CEST 2008


Jonathan Ellis <ellisj at users.sourceforge.net> added the comment:

This is incorrect.  Perhaps you are thinking of a raw socket read; a 
_file-like-object_ read is supposed to return the amount of data 
requested, unless (a) the socket is in non-blocking mode, or (b) if EOF 
is reached first.  Normal socket.makefile observes this, but SSLObject 
does not.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1291446>
_______________________________________


More information about the Python-bugs-list mailing list