From: R David Murray Date: Sun, 9 Mar 2014 23:58:17 +0000 (-0400) Subject: whatsnew: ssl.create_default_context (#19689). X-Git-Tag: v3.4.1rc1~233^2~94 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f20cfb2081cb95560028996333948b2d7604e637;p=python whatsnew: ssl.create_default_context (#19689). --- diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index b0ba659008..d079b3c979 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 ----