[issue25586] socket.sendall broken when a socket has a timeout

Martin Panter report at bugs.python.org
Thu Nov 12 17:53:32 EST 2015


Martin Panter added the comment:

For what it’s worth, there could be obsure cases where sending more data might be okay. I prefer the original version (but can settle for either). Here’s a third alternative:

Considering this loss of information, it is generally best not to send any more data to the socket.

----------

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


More information about the Python-bugs-list mailing list