summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-03-09 23:58:17 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-03-09 23:58:17 (GMT)
commitf20cfb2081cb95560028996333948b2d7604e637 (patch)
tree1a40ed6b9083071e6b09e883be60945e48e57970
parente7fa1204e2dd52ed9705a9fcbd545ba970c23bf7 (diff)
downloadcpython-f20cfb2081cb95560028996333948b2d7604e637.zip
cpython-f20cfb2081cb95560028996333948b2d7604e637.tar.gz
cpython-f20cfb2081cb95560028996333948b2d7604e637.tar.bz2
whatsnew: ssl.create_default_context (#19689).
-rw-r--r--Doc/whatsnew/3.4.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
index b0ba659..d079b3c 100644
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -1327,6 +1327,13 @@ server, and certificates for a server to use in verifying client certificates
(``purpose=``:data:`~ssl.Purpose.CLIENT_AUTH`). (Contributed by Christian
Heimes in :issue:`19292`.)
+New function :func:`~ssl.create_default_context` provides a standard way to
+obtain an :class:`~ssl.SSLContext` based on the settings Python uses by
+default. These settings are more stringent than the defaults provided by the
+:class:`~ssl.SSLContext` constructor, and may be adjusted (without notice) in
+the future to maintain a balance between compatibility and security.
+(Contributed by Christian Heimes in :issue:`19689`.)
+
stat
----