Antoine Pitrou added the comment: I don't think so. It is ok to let the GC delete the resources by itself. close() is just there for people who want to ensure whatever small amount of resources (a file descriptor, mostly) are released timely.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30596> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com