◐ Shell
clean mode source ↗

Message 305927 - Python tracker

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.