[issue17852] Built-in module _io can loose data from buffered files at exit

Antoine Pitrou report at bugs.python.org
Thu Dec 4 11:51:28 CET 2014


Antoine Pitrou added the comment:

You mean encourage people to explicitly use "with" or call close()? Yes, that's the simplest answer. It's why we added ResourceWarning.

----------

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


More information about the Python-bugs-list mailing list