Staging
v0.5.0
https://github.com/python/cpython
Revision 9423f5d68874ff2e500cbe072c25f883cf754be8 authored by Christian Heimes on 07 September 2017, 23:59:17 UTC, committed by GitHub on 07 September 2017, 23:59:17 UTC
* 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>.
(cherry picked from commit 888bbdc192ec4db888a294ef758cf5510442dc9a)
1 parent 6c99b65
History
Tip revision: 9423f5d68874ff2e500cbe072c25f883cf754be8 authored by Christian Heimes on 07 September 2017, 23:59:17 UTC
[3.6] bpo-27340: Use memoryview in SSLSocket.sendall() (GH-3384) (#3434)
Tip revision: 9423f5d
File Mode Size
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
.bzrignore -rw-r--r-- 582 bytes
.gitattributes -rw-r--r-- 798 bytes
.gitignore -rw-r--r-- 1.3 KB
.hgeol -rw-r--r-- 1.0 KB
.hgignore -rw-r--r-- 1.3 KB
.hgtags -rw-r--r-- 8.7 KB
.travis.yml -rw-r--r-- 4.2 KB
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 58.3 KB
README.rst -rw-r--r-- 9.0 KB
aclocal.m4 -rw-r--r-- 13.0 KB
config.guess -rwxr-xr-x 43.2 KB
config.sub -rwxr-xr-x 35.7 KB
configure -rwxr-xr-x 473.4 KB
configure.ac -rw-r--r-- 156.7 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 40.5 KB
setup.py -rw-r--r-- 99.1 KB

README.rst

back to top