summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-06-17 12:01:18 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-06-17 12:01:18 (GMT)
commita4c45d73cf6eeb8ede6ee701c0372d7e45dc24f2 (patch)
treec7bee889bda36c5418ff802a662d10b2f0efa61e /Misc
parent0f83b1511c76e892b48b16d656cceb032bdb9cb3 (diff)
downloadcpython-a4c45d73cf6eeb8ede6ee701c0372d7e45dc24f2.zip
cpython-a4c45d73cf6eeb8ede6ee701c0372d7e45dc24f2.tar.gz
cpython-a4c45d73cf6eeb8ede6ee701c0372d7e45dc24f2.tar.bz2
Issue #12133: fix a ResourceWarning in urllib.request
AbstractHTTPHandler.do_open() of urllib.request closes the HTTP connection if its getresponse() method fails with a socket error. Patch written by Ezio Melotti.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 75d1082..6cc0f03 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -25,6 +25,10 @@ Core and Builtins
Library
-------
+- Issue #12133: AbstractHTTPHandler.do_open() of urllib.request closes the HTTP
+ connection if its getresponse() method fails with a socket error. Patch
+ written by Ezio Melotti.
+
- Issue #9284: Allow inspect.findsource() to find the source of doctest
functions.