[issue38971] codecs.open leaks file descriptor when invalid encoding is passed

Karthikeyan Singaravelan report at bugs.python.org
Wed Dec 4 12:01:30 EST 2019


Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:

Does using with block similar to https://bugs.python.org/issue22831 solve this problem?

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38971>
_______________________________________


More information about the Python-bugs-list mailing list