[issue20951] SSLSocket.send() returns 0 for non-blocking socket

Nikolaus Rath report at bugs.python.org
Wed Mar 19 02:16:35 CET 2014


Nikolaus Rath added the comment:

Since this behavior cannot be changed without breaking third-party libraries (why did they work around this rather than reporting a bug?), I'd suggest to document the current behavior and allow programs to opt-in to getting exceptions.

I've attached a patch to that end. Feedback would be appreciated.

----------
Added file: http://bugs.python.org/file34504/issue20951.diff

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


More information about the Python-bugs-list mailing list