Antoine Pitrou <pit...@free.fr> added the comment: > Alright then. I applied the change to the trunk (r76381) and py3k > (r76383). What about release26-maint and release31-maint? IMO this is > not necessary.
Unless it might cause compatibility concerns I think it would be better to backport it. In general it's bad to rely on reference counting to automatically close files. The object could be hanging on a traceback, or you could be running on a Python implementation with a different GC strategy. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7341> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com