SilentGhost added the comment: > The point of ResourceWarning it tell you when you are depending on > destructors for cleanup But there is an explicit call in __del__ to .close(), it's looks like intended behaviour and is ultimately the difference that Jon was seeing between NamedTemporaryFile and TemporaryFile.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28867> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com