]> granicus.if.org Git - python/commit
#21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed.
authorR David Murray <rdmurray@bitdance.com>
Thu, 26 Jun 2014 17:31:43 +0000 (13:31 -0400)
committerR David Murray <rdmurray@bitdance.com>
Thu, 26 Jun 2014 17:31:43 +0000 (13:31 -0400)
commitc6772c4d592be2274a66ccd26b5956738fc6e4f8
tree2152a9d94dc41c1c30078a06c3c564d35011c280
parent19454563d85361beeb8cd39dcabcb28d2639be31
#21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed.

This makes the behavior match that of Parser.  Patch by Vajrasky Kok.
Lib/email/parser.py
Lib/test/test_email/test_email.py
Misc/NEWS