[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs
Rod Morehead
report at bugs.python.org
Thu May 7 06:24:14 CEST 2009
Rod Morehead <rmore at rmore.net> added the comment:
Isn't the call to read(1) blocking in this case?
If so the only reason it should spin would be if it returned an empty
string representing EOF.
Couldn't we just add a check for an empty string and, if found, raise an
EOF exception?
----------
nosy: +rmore
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5949>
_______________________________________
More information about the Python-bugs-list
mailing list