summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-06-26 17:31:43 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-06-26 17:31:43 (GMT)
commitc6772c4d592be2274a66ccd26b5956738fc6e4f8 (patch)
tree2152a9d94dc41c1c30078a06c3c564d35011c280 /Misc/NEWS
parent19454563d85361beeb8cd39dcabcb28d2639be31 (diff)
downloadcpython-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/NEWS')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 487799c..b5a5fa6 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.