diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-06-26 17:31:43 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-06-26 17:31:43 (GMT) |
commit | c6772c4d592be2274a66ccd26b5956738fc6e4f8 (patch) | |
tree | 2152a9d94dc41c1c30078a06c3c564d35011c280 /Misc | |
parent | 19454563d85361beeb8cd39dcabcb28d2639be31 (diff) | |
download | cpython-c6772c4d592be2274a66ccd26b5956738fc6e4f8.zip cpython-c6772c4d592be2274a66ccd26b5956738fc6e4f8.tar.gz cpython-c6772c4d592be2274a66ccd26b5956738fc6e4f8.tar.bz2 |
#21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed.
This makes the behavior match that of Parser. Patch by Vajrasky Kok.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -27,6 +27,9 @@ Core and Builtins Library ------- +- Issue #21476: Make sure the email.parser.BytesParser TextIOWrapper is + discarded after parsing, so the input file isn't unexpectedly closed. + - Issue #21729: Used the "with" statement in the dbm.dumb module to ensure files closing. Patch by Claudiu Popa. |