commit | 02ab7a84ef86cfe043bbfbbd2912dcc8c8c67793 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Wed Apr 09 15:40:18 2014 -0400 |
committer | Benjamin Peterson <benjamin@python.org> | Wed Apr 09 15:40:18 2014 -0400 |
tree | 8e49d11fc2469920a5e0814d2ca90b251963c9f3 | |
parent | d5460096778dcb700f850c16c6ad63531430d433 [diff] |
make sure fdopen always closes the fd in error cases (closes #21191)
diff --git a/Misc/NEWS b/Misc/NEWS index a6dfc7e..873c7b6 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -43,6 +43,9 @@ Library ------- +- Issue #21191: In os.fdopen, alwyas close the file descriptor when an exception + happens. + - Issue #21149: Improved thread-safety in logging cleanup during interpreter shutdown. Thanks to Devin Jeanpierre for the patch.