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 grahamd
Recipients Dormouse759, eric.snow, grahamd, ncoghlan, petr.viktorin
Date 2017-11-08.20:07:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510171629.82.0.213398074469.issue31901@psf.upfronthosting.co.za>
In-reply-to
Content
FWIW, that atexit callbacks were not called for sub interpreters ever was a pain point for mod_wsgi.

What mod_wsgi does is override the destruction sequence so that it will first go through each sub interpreter when and shutdown threading explicitly, then call atexit handlers. When that is done, only then will it destroy the sub interpreter and the main interpreter.

I have noted this previously in discussion associated with:

https://bugs.python.org/issue6531
History
Date User Action Args
2017-11-08 20:07:09grahamdsetrecipients: + grahamd, ncoghlan, petr.viktorin, eric.snow, Dormouse759
2017-11-08 20:07:09grahamdsetmessageid: <1510171629.82.0.213398074469.issue31901@psf.upfronthosting.co.za>
2017-11-08 20:07:09grahamdlinkissue31901 messages
2017-11-08 20:07:09grahamdcreate