summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2018-02-27 08:21:34 (GMT)
committerGitHub <noreply@github.com>2018-02-27 08:21:34 (GMT)
commit90f05a527c7d439f1d0cba80f2eb32e60ee20fc3 (patch)
tree31935f804412c3f814c20925574f4c775daeb246 /Doc/whatsnew
parent05d9fe32a1245b9a798e49e0c1eb91f110935b69 (diff)
downloadcpython-90f05a527c7d439f1d0cba80f2eb32e60ee20fc3.zip
cpython-90f05a527c7d439f1d0cba80f2eb32e60ee20fc3.tar.gz
cpython-90f05a527c7d439f1d0cba80f2eb32e60ee20fc3.tar.bz2
bpo-28124: deprecate ssl.wrap_socket() (#5888)
The ssl module function ssl.wrap_socket() has been de-emphasized and deprecated in favor of the more secure and efficient SSLContext.wrap_socket() method. Signed-off-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.7.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index 10aed52..e25ff10 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -673,6 +673,11 @@ The ssl module has preliminary and experimental support for TLS 1.3 and
OpenSSL 1.1.1. (Contributed by Christian Heimes in :issue:`32947`,
:issue:`20995`, :issue:`29136`, and :issue:`30622`)
+:func:`~ssl.wrap_socket` is deprecated. Documentation has been updated to
+recommend :meth:`~ssl.SSLContext.wrap_socket` instead.
+(Contributed by Christian Heimes in :issue:`28124`.)
+
+
string
------