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

ProgVal report at bugs.python.org
Fri Dec 25 09:45:15 EST 2015


New submission from ProgVal:

socket.sendall() returns None if it succeeded <https://docs.python.org/3/library/socket.html#socket.socket.sendall>
SSLSocket.sendall() is said to have the same behavior as socket.sendall(), besides not allowing flags <https://docs.python.org/3/library/ssl.html#ssl.SSLSocket>

However, SSLSocket.sendall() returns the amount of bytes written on success.

----------
components: Library (Lib)
messages: 256992
nosy: ProgVal
priority: normal
severity: normal
status: open
title: SSLSocket.sendall() does not return None on success like socket.sendall()
versions: Python 3.4

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


More information about the New-bugs-announce mailing list