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 <rep...@bugs.python.org>
<http://bugs.python.org/issue25951>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to