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 <>
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.
Date User Action Args
2021-01-16 20:51:41christian.heimessetrecipients: + christian.heimes, gvanrossum, Wicken
2021-01-16 20:51:41christian.heimessetmessageid: <>
2021-01-16 20:51:41christian.heimeslinkissue42935 messages
2021-01-16 20:51:41christian.heimescreate