โ— Shell
clean mode source โ†—

Message 305859 - Python tracker

Message305859

Author petr.viktorin
Recipients Dormouse759, eric.snow, grahamd, ncoghlan, petr.viktorin
Date 2017-11-08.15:49:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510156196.98.0.213398074469.issue31901@psf.upfronthosting.co.za>
In-reply-to
Content
When you destroy a subinterpreter before Py_Finalize is called, Python can't start calling its atexit callbacks โ€“ they no longer have a subinterpreter to run in.

Therefore I think callbacks for a particular subinterpreter should be called when (and only when) that subinterpreter is destroyed. Regardless of whether it's the main one or not.
History
Date User Action Args
2017-11-08 15:49:57petr.viktorinsetrecipients: + petr.viktorin, ncoghlan, grahamd, eric.snow, Dormouse759
2017-11-08 15:49:56petr.viktorinsetmessageid: <1510156196.98.0.213398074469.issue31901@psf.upfronthosting.co.za>
2017-11-08 15:49:56petr.viktorinlinkissue31901 messages
2017-11-08 15:49:56petr.viktorincreate