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

Karthikeyan Singaravelan report at bugs.python.org
Wed Dec 4 13:01:56 EST 2019


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

Ah okay, thanks for the detail. Forgot there should be an open file handle to be returned by codecs.open

----------

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


More information about the Python-bugs-list mailing list