[issue38971] codecs.open leaks file descriptor when invalid encoding is passed
miss-islington
report at bugs.python.org
Mon Mar 2 03:02:20 EST 2020
miss-islington <mariatta.wijaya+miss-islington at gmail.com> added the comment:
New changeset f4d709f4a3c69bd940bd6968a70241277132bed7 by Miss Islington (bot) in branch '3.7':
bpo-38971: Open file in codecs.open() closes if exception raised. (GH-17666)
https://github.com/python/cpython/commit/f4d709f4a3c69bd940bd6968a70241277132bed7
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38971>
_______________________________________
More information about the Python-bugs-list
mailing list