Nick Coghlan <ncogh...@gmail.com> added the comment: Ah, I see - yeah, that makes a lot of sense.
I've retitled the issue to make it clearer that the problem is where the responsibility for calling atexit functions lives - currently it's in Py_Finalize, but really it should be inside the interpreter object's own teardown code. ---------- components: +Interpreter Core -Extension Modules title: atexit callbacks only called for current subinterpreter -> atexit callbacks should be run at subinterpreter shutdown _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31901> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com