Brett Cannon <br...@python.org> added the comment:

But this is meant to be an optional warning; users will never see it. Me as a 
developer, I would like to know when I leave a file open as that is a waste of 
resources, plus with no guarantee of everything being flushed to disk.

Besides, the context manager for files makes the chance of leaving a file open 
a much more blaring mistake.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10093>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to