mirror of https://github.com/python/cpython
Browse Source
* 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>pull/3435/head
committed by
GitHub
3 changed files with 19 additions and 5 deletions
Loading…
Reference in new issue