diff options
author | R David Murray <rdmurray@bitdance.com> | 2011-06-18 02:23:04 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2011-06-18 02:23:04 (GMT) |
commit | f1138bb1b6ead7ddeae3e38e3c507d63d09669c3 (patch) | |
tree | e2d0369d88eb7945d5b86ffe2439d96639dc0554 /Misc | |
parent | c74a6ba2d6c1f331896cf8dacc698b0b88c7e670 (diff) | |
download | cpython-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')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |