whatsnew: ssl.create_default_context (#19689).

This commit is contained in:
R David Murray 2014-03-09 19:58:17 -04:00
parent e7fa1204e2
commit f20cfb2081
1 changed files with 7 additions and 0 deletions

View File

@ -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
----