[issue15447] A file is not properly closed by webbrowser._invoke

Anton Barkovsky report at bugs.python.org
Wed Jul 25 15:38:05 CEST 2012


Anton Barkovsky <swarmer.pm at gmail.com> added the comment:

The warning is printed by the file object when it closes itself in __del__:

  ResourceWarning: unclosed file <_io.TextIOWrapper name='/dev/null' mode='r+' encoding='UTF-8'>

There isn't much to test, or is there?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15447>
_______________________________________


More information about the Python-bugs-list mailing list