This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients Wicken, christian.heimes, gvanrossum
Date 2021-01-16.20:51:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610830301.52.0.0452634304591.issue42935@roundup.psfhosted.org>
In-reply-to
Content
At the end of a Python process, the interpreter is shut down in multiple steps. Object finalizers such as __del__ may be executed late in the interpreter shut down process. In your case, most of the interpreter is already gone. There isn't anything we can do to solve the problem.

That's why we recommend explicit resource management with the "with" statement. The atexit module is another way to execute cleanup hooks before the interpreter is shut down.
History
Date User Action Args
2021-01-16 20:51:41christian.heimessetrecipients: + christian.heimes, gvanrossum, Wicken
2021-01-16 20:51:41christian.heimessetmessageid: <1610830301.52.0.0452634304591.issue42935@roundup.psfhosted.org>
2021-01-16 20:51:41christian.heimeslinkissue42935 messages
2021-01-16 20:51:41christian.heimescreate