From: R David Murray Date: Thu, 26 Jun 2014 17:33:05 +0000 (-0400) Subject: Merge #21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed. X-Git-Tag: v3.5.0a1~1398 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0c43ed87168a571adf1c2e0f7538daf5ad7a9c77;p=python Merge #21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed. --- 0c43ed87168a571adf1c2e0f7538daf5ad7a9c77 diff --cc Misc/NEWS index 1cd7d58ff0,b5a5fa6f37..880362f749 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -103,8 -27,9 +103,11 @@@ Core and Builtin Library ------- + - Issue #21476: Make sure the email.parser.BytesParser TextIOWrapper is + discarded after parsing, so the input file isn't unexpectedly closed. + +- Issue #20295: imghdr now recognizes OpenEXR format images. + - Issue #21729: Used the "with" statement in the dbm.dumb module to ensure files closing. Patch by Claudiu Popa.