[Python-checkins] cpython (3.4): Issue #24021: docstring for urllib.urlcleanup.
robert.collins
python-checkins at python.org
Tue Aug 4 02:53:38 CEST 2015
https://hg.python.org/cpython/rev/659f5adc2354
changeset: 97235:659f5adc2354
branch: 3.4
parent: 97228:984b96ea0ba7
user: Robert Collins <rbtcollins at hp.com>
date: Tue Aug 04 12:52:06 2015 +1200
summary:
Issue #24021: docstring for urllib.urlcleanup.
Patch from Daniel Andrade Groppe and Peter Lovett
files:
Lib/urllib/request.py | 1 +
Misc/ACKS | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py
--- a/Lib/urllib/request.py
+++ b/Lib/urllib/request.py
@@ -229,6 +229,7 @@
return result
def urlcleanup():
+ """Clean up temporary files from urlretrieve calls."""
for temp_file in _url_tempfiles:
try:
os.unlink(temp_file)
diff --git a/Misc/ACKS b/Misc/ACKS
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -508,6 +508,7 @@
Olivier Grisel
Fabian Groffen
Eric Groo
+Daniel Andrade Groppe
Dag Gruneau
Filip Gruszczyński
Thomas Guettler
@@ -836,6 +837,7 @@
Tom Loredo
Justin Love
Ned Jackson Lovely
+Peter Lovett
Jason Lowe
Tony Lownds
Ray Loyzaga
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list