summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2011-06-18 02:23:04 (GMT)
committerR David Murray <rdmurray@bitdance.com>2011-06-18 02:23:04 (GMT)
commitf1138bb1b6ead7ddeae3e38e3c507d63d09669c3 (patch)
treee2d0369d88eb7945d5b86ffe2439d96639dc0554 /Misc/NEWS
parentc74a6ba2d6c1f331896cf8dacc698b0b88c7e670 (diff)
downloadcpython-f1138bb1b6ead7ddeae3e38e3c507d63d09669c3.zip
cpython-f1138bb1b6ead7ddeae3e38e3c507d63d09669c3.tar.gz
cpython-f1138bb1b6ead7ddeae3e38e3c507d63d09669c3.tar.bz2
#11700: proxy object close methods can now be called multiple times
This makes them work like the close provided by regular file objects. This patch also backports the close-the-underlying-file code for _ProxyFile objects that was introduced along with context manager support in the 3.x branch.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 5fa4178..2e33e7f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -16,6 +16,9 @@ Core and Builtins
Library
-------
+- Issue #11700: mailbox proxy object close methods can now be called multiple
+ times without error, and _ProxyFile now closes the wrapped file.
+
- 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.