https://github.com/python/cpython/commit/caa4be2d4972ab9cc6bf509b723ec50a0f599f88
commit: caa4be2d4972ab9cc6bf509b723ec50a0f599f88
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: orsenthil <[email protected]>
date: 2026-07-11T21:20:46Z
summary:

[3.13] gh-102591: Document that urlcleanup resets the global opener (GH-153562) 
(#153590)

gh-102591: Document that urlcleanup resets the global opener (GH-153562)
(cherry picked from commit bbd1f2f9e0354f91c5d3c4eb3eb53657265dcc77)

Co-authored-by: Taeknology <[email protected]>
Co-authored-by: Senthil Kumaran <[email protected]>

files:
M Doc/library/urllib.request.rst

diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst
index 945c96892f592a..4107017021f5ab 100644
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -1442,7 +1442,8 @@ some point in the future.
 .. function:: urlcleanup()
 
    Cleans up temporary files that may have been left behind by previous
-   calls to :func:`urlretrieve`.
+   calls to :func:`urlretrieve`.  It also resets the default global opener
+   installed by :func:`install_opener`.
 
 .. class:: URLopener(proxies=None, **x509)
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to