[issue27340] bytes-like objects with socket.sendall(), SSL, and http.client

Christian Heimes report at bugs.python.org
Thu Sep 7 20:05:19 EDT 2017


Christian Heimes added the comment:

In Python 3.6 and master, SSLSocket.sendall() now accepts any bytes-like object that can be cast to bytes. Since it uses a sliced memoryview instead of sliced bytes, it avoids extra copies of the payload, too.

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions:  -Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27340>
_______________________________________


More information about the Python-bugs-list mailing list