Serhiy Storchaka added the comment:

> The monkey-patched version breaks the auto-close on __del__ feature:

Files were closed. Just with a warning. I consider this as an enhancement. If 
you don't close file explicitly you will get a leak on non-refcounted Python 
implementations. It's true for both ordinal files so tempfiles. Perhaps we 
should add a warning in any __del__ method (even if we will commit Jakub's 
patch, this way LGTM too).

----------

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

Reply via email to