summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2017-09-15 18:26:05 (GMT)
committerGitHub <noreply@github.com>2017-09-15 18:26:05 (GMT)
commit4df60f18c64ba2835e68bf3eed08d8002a00f4ac (patch)
tree560104b248bdd86beb2a283582acf2f2f968d3cd /Misc
parentff702890027f404dbf5faab6730d1169b3251f66 (diff)
downloadcpython-4df60f18c64ba2835e68bf3eed08d8002a00f4ac.zip
cpython-4df60f18c64ba2835e68bf3eed08d8002a00f4ac.tar.gz
cpython-4df60f18c64ba2835e68bf3eed08d8002a00f4ac.tar.bz2
bpo-31386: Custom wrap_bio and wrap_socket type (#3426)
SSLSocket.wrap_bio() and SSLSocket.wrap_socket() hard-code SSLObject and SSLSocket as return types. In the light of future deprecation of ssl.wrap_socket() module function and direct instantiation of SSLSocket, it is desirable to make the return type of SSLSocket.wrap_bio() and SSLSocket.wrap_socket() customizable. Signed-off-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2017-09-07-12-15-56.bpo-27629.7xJXEy.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-09-07-12-15-56.bpo-27629.7xJXEy.rst b/Misc/NEWS.d/next/Library/2017-09-07-12-15-56.bpo-27629.7xJXEy.rst
new file mode 100644
index 0000000..95a6c2b
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2017-09-07-12-15-56.bpo-27629.7xJXEy.rst
@@ -0,0 +1,2 @@
+Make return types of SSLContext.wrap_bio() and SSLContext.wrap_socket()
+customizable.