]> granicus.if.org Git - python/commitdiff
Merge #21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed.
authorR David Murray <rdmurray@bitdance.com>
Thu, 26 Jun 2014 17:33:05 +0000 (13:33 -0400)
committerR David Murray <rdmurray@bitdance.com>
Thu, 26 Jun 2014 17:33:05 +0000 (13:33 -0400)
1  2 
Misc/NEWS

diff --cc Misc/NEWS
index 1cd7d58ff05870c562bce82cbc4c2339bc3d8ea4,b5a5fa6f376764762ab370a3bcd16716a5d77937..880362f74944e872d64f7ffa5eb00ec422ae2b37
+++ 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.