diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-11-05 22:18:28 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-11-05 22:18:28 (GMT) |
commit | afb078dd2673d919ac3733104757c441f256f30f (patch) | |
tree | 6cc2a71ea1616d823413beed42cec8a4ad22b627 | |
parent | 7d15a72c54a7f749c52c8920ae8b467dddd74517 (diff) | |
download | cpython-afb078dd2673d919ac3733104757c441f256f30f.zip cpython-afb078dd2673d919ac3733104757c441f256f30f.tar.gz cpython-afb078dd2673d919ac3733104757c441f256f30f.tar.bz2 |
More what's new
-rw-r--r-- | Doc/whatsnew/3.2.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index 3e98124..87f9e94 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -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:: |