[issue25951] SSLSocket.sendall() does not return None on success like socket.sendall()

Martin Panter report at bugs.python.org
Thu Mar 24 20:04:13 EDT 2016


Martin Panter added the comment:

Agreed that the documentation and implementation should match. But this seems like a rather low-priority bug. What use case relies on the return value being None?

If there is no immediate need for this change, it might be safer to just make it in 3.6, to minimize compatibility problems. But if it is fixed in 3.5 it should also be fixed in 2.7.

I left some suggestions to simplify the code.

----------
nosy: +martin.panter
stage:  -> patch review

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


More information about the Python-bugs-list mailing list