diff options
author | Victor Stinner <vstinner@python.org> | 2023-06-06 21:17:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-06 21:17:45 (GMT) |
commit | 2587b9f64eefde803a5e0b050171ad5f6654f31b (patch) | |
tree | 5304fb7ff2534429db4b07a907f8c06cab0a19dc /Doc/whatsnew | |
parent | 94d5f9827da4bf4b1e61c134fe29904b2b92f124 (diff) | |
download | cpython-2587b9f64eefde803a5e0b050171ad5f6654f31b.zip cpython-2587b9f64eefde803a5e0b050171ad5f6654f31b.tar.gz cpython-2587b9f64eefde803a5e0b050171ad5f6654f31b.tar.bz2 |
gh-105382: Remove urllib.request cafile parameter (#105384)
Remove cafile, capath and cadefault parameters of the
urllib.request.urlopen() function, deprecated in Python 3.6.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.13.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst index 1eb859f..502cafd 100644 --- a/Doc/whatsnew/3.13.rst +++ b/Doc/whatsnew/3.13.rst @@ -316,6 +316,14 @@ Removed method instead. (Contributed by Victor Stinner in :gh:`105376`.) +* Remove *cafile*, *capath* and *cadefault* parameters of the + :func:`urllib.request.urlopen` function, deprecated in Python 3.6: use the + *context* parameter instead. Please use + :meth:`ssl.SSLContext.load_cert_chain` instead, or let + :func:`ssl.create_default_context` select the system's trusted CA + certificates for you. + (Contributed by Victor Stinner in :gh:`105382`.) + Porting to Python 3.13 ====================== |