commit | 888bbdc192ec4db888a294ef758cf5510442dc9a | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@python.org> | Thu Sep 07 14:18:21 2017 -0700 |
committer | GitHub <noreply@github.com> | Thu Sep 07 14:18:21 2017 -0700 |
tree | 3b4be0554916502e37ef83efd8ea7e11e6ef8c70 | |
parent | 17c9ac927b97472dd080174fde709d9234848195 [diff] |
bpo-27340: Use memoryview in SSLSocket.sendall() (#3384) * bpo-27340: Use memoryview in SSLSocket.sendall() SSLSocket.sendall() now uses memoryview to create slices of data. This fix support for all bytes-like object. It is also more efficient and avoids costly copies. Signed-off-by: Christian Heimes <christian@python.org> * Cast view to bytes, fix typo Signed-off-by: Christian Heimes <christian@python.org>