From: Benjamin Peterson Date: Fri, 19 Sep 2014 21:23:21 +0000 (-0400) Subject: whatsnew for pep 466 ssl backport X-Git-Tag: v2.7.9rc1~223 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f61e24db06b44489054e5ecce45534bb4e540a3d;p=thirdparty%2FPython%2Fcpython.git whatsnew for pep 466 ssl backport --- diff --git a/Doc/whatsnew/2.7.rst b/Doc/whatsnew/2.7.rst index 99e2ff4d5d2f..c88d04ad6f1e 100644 --- a/Doc/whatsnew/2.7.rst +++ b/Doc/whatsnew/2.7.rst @@ -2565,6 +2565,17 @@ with the first of those changes appearing in the Python 2.7.7 release. on python.org (contributed by Zachary Ware in :issue:`21671` for CVE-2014-0224) +:pep:`466` related features added in Python 2.7.9: + +* Most of Python 3.4's :mod:`ssl` module was backported. This means :mod:`ssl` + now supports Server Name Indication, TLS1.x settings, access to the platform + certificate store, the :class:`~ssl.SSLContext` class, and other + features. (Contributed by Alex Gaynor and David Reid in :issue:`21308`.) + +* :func:`os.urandomn` was changed to cache a file descriptor to ``/dev/urandom`` + instead of reopening ``/dev/urandom`` on every call. (Contributed by Alex + Gaynor in :issue:`21305`.) + .. ======================================================================