[Python-checkins] cpython: whatsnew: ssl.create_default_context (#19689).

r.david.murray python-checkins at python.org
Mon Mar 10 02:35:09 CET 2014


http://hg.python.org/cpython/rev/8b4b6609cd31
changeset:   89545:8b4b6609cd31
user:        R David Murray <rdmurray at bitdance.com>
date:        Sun Mar 09 19:58:17 2014 -0400
summary:
  whatsnew: ssl.create_default_context (#19689).

files:
  Doc/whatsnew/3.4.rst |  7 +++++++
  1 files changed, 7 insertions(+), 0 deletions(-)


diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -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
 ----

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list