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 barry, benjamin.peterson, christian.heimes, grahamd, loewis
Date 2009-07-19.12:13:48
SpamBayes Score 9.110511e-06
Marked as misclassified No
Message-id <1248005629.89.0.064677439988.issue4200@psf.upfronthosting.co.za>
In-reply-to
Content
I know this issue is closed, but for this patch, the code:

+    modstate = get_atexitmodule_state(module);
+
+    if (modstate->ncallbacks == 0)
+        return;

was added.

Is there any condition under which modstate could be NULL.

Haven't touched Python 3.0 support in mod_wsgi for a long time and when 
revisiting code with final Python 3.0, I find that I get Py_Finalize() 
crashing on process shutdown. It is crashing because modstate above is 
NULL.
History
Date User Action Args
2009-07-19 12:13:50grahamdsetrecipients: + grahamd, loewis, barry, christian.heimes, benjamin.peterson
2009-07-19 12:13:49grahamdsetmessageid: <1248005629.89.0.064677439988.issue4200@psf.upfronthosting.co.za>
2009-07-19 12:13:48grahamdlinkissue4200 messages
2009-07-19 12:13:48grahamdcreate