(original) (raw)

changeset: 89545:8b4b6609cd31 user: R David Murray rdmurray@bitdance.com date: Sun Mar 09 19:58:17 2014 -0400 files: Doc/whatsnew/3.4.rst description: whatsnew: ssl.create_default_context (#19689). diff -r 86338438b70d -r 8b4b6609cd31 Doc/whatsnew/3.4.rst --- a/Doc/whatsnew/3.4.rst Sun Mar 09 19:57:19 2014 -0400 +++ b/Doc/whatsnew/3.4.rst Sun Mar 09 19:58:17 2014 -0400 @@ -1327,6 +1327,13 @@ (``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 ---- /rdmurray@bitdance.com