Serhiy Storchaka added the comment: Here is a patch which implements Richard's suggestion. test_del_on_shutdown and test_warnings_on_cleanup are failed, but perhaps they are wrong.
---------- Added file: http://bugs.python.org/file33379/tempfile_tempdir_cleanup_weakref_finalize.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19077> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com