]> granicus.if.org Git - python/commitdiff
More what's new
authorAntoine Pitrou <solipsis@pitrou.net>
Fri, 5 Nov 2010 22:18:28 +0000 (22:18 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Fri, 5 Nov 2010 22:18:28 +0000 (22:18 +0000)
Doc/whatsnew/3.2.rst

index 3e98124f039933cee2fde876c2a1e7442cbfb2df..87f9e9403baf48c041a21b8b3a2a0124095d1914 100644 (file)
@@ -488,6 +488,12 @@ New, Improved, and Deprecated Modules
   5-tuple), and :data:`ssl.OPENSSL_VERSION_NUMBER` (an integer).  (Added by
   Antoine Pitrou; :issue:`8321`.)
 
+* :class:`http.client.HTTPSConnection`, :class:`urllib.request.HTTPSHandler`
+  and :func:`urllib.request.urlopen` now take optional arguments to allow for
+  server certificate checking against a set of Certificate Authorities,
+  as recommended in public uses of HTTPS.
+  (Added by Antoine Pitrou, :issue:`9003`.)
+
 * Instances of :class:`unittest.TestCase` have two new methods
   :meth:`~unittest.TestCase.assertWarns` and :meth:`~unittest.TestCase.assertWarnsRegexp`
   to check that a given warning type was triggered by the code under test::