Giampaolo Rodola' added the comment:

-1 about adding raise_on_blocking_send=False option as IMO it unnecessarily 
complicates the API.

Note: when working with plain sockets send() returning 0 means the connection 
has been closed by the other peer, same for os.sendfile().
It appears ssl module is the only one behaving differently therefore I'd be for 
signaling the discrepancy in the doc.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20951>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to