diff options
author | Georg Brandl <georg@python.org> | 2010-10-30 14:33:28 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-10-30 14:33:28 (GMT) |
commit | 6ce29fa7a89cd266ca9dd3e21ed40f9100eb70f6 (patch) | |
tree | 0a848c45edb3c61a90c828794897a7b455bc53c4 /Misc | |
parent | 849e12bfe943be4f18f5d0e21087b1cb08d472dd (diff) | |
download | cpython-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |