summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-30 14:33:28 (GMT)
committerGeorg Brandl <georg@python.org>2010-10-30 14:33:28 (GMT)
commit6ce29fa7a89cd266ca9dd3e21ed40f9100eb70f6 (patch)
tree0a848c45edb3c61a90c828794897a7b455bc53c4 /Misc
parent849e12bfe943be4f18f5d0e21087b1cb08d472dd (diff)
downloadcpython-6ce29fa7a89cd266ca9dd3e21ed40f9100eb70f6.zip
cpython-6ce29fa7a89cd266ca9dd3e21ed40f9100eb70f6.tar.gz
cpython-6ce29fa7a89cd266ca9dd3e21ed40f9100eb70f6.tar.bz2
Fix test_mailbox by supporting context manager protocol for get_file() returns.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index afbf04c..827640a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -57,6 +57,9 @@ Core and Builtins
Library
-------
+- Support context manager protocol for file-like objects returned by
+ mailbox ``get_file()`` methods.
+
- Issue #10246: uu.encode didn't close file objects explicitly when filenames
were given to it. Patch by Brian Brazil.