summaryrefslogtreecommitdiffstats
path: root/Python/codecs.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-02-24 20:51:56 (GMT)
committerChristian Heimes <christian@python.org>2018-02-24 20:51:56 (GMT)
commit8fa8478ddeba0870da1152f0a2985c8a7eeb9fd1 (patch)
tree9fc2bd2ae1dc5505d2f44f489b7deb7394f6530c /Python/codecs.c
parentd24c5a068c1831a8579a5915f44ae3b4344aba43 (diff)
downloadcpython-8fa8478ddeba0870da1152f0a2985c8a7eeb9fd1.zip
cpython-8fa8478ddeba0870da1152f0a2985c8a7eeb9fd1.tar.gz
cpython-8fa8478ddeba0870da1152f0a2985c8a7eeb9fd1.tar.bz2
[3.7] bpo-24334: Cleanup SSLSocket (GH-5252) (#5857)
* The SSLSocket is no longer implemented on top of SSLObject to avoid an extra level of indirection. * Owner and session are now handled in the internal constructor. * _ssl._SSLSocket now uses the same method names as SSLSocket and SSLObject. * Channel binding type check is now handled in C code. Channel binding is always available. The patch also changes the signature of SSLObject.__init__(). In my opinion it's fine. A SSLObject is not a user-constructable object. SSLContext.wrap_bio() is the only valid factory. (cherry picked from commit 141c5e8c2437a9fed95a04c81e400ef725592a17) Co-authored-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Python/codecs.c')
0 files changed, 0 insertions, 0 deletions