mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Fix test_mailbox by supporting context manager protocol for get_file() returns.
This commit is contained in:
parent
849e12bfe9
commit
6ce29fa7a8
3 changed files with 24 additions and 3 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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue