Graham Dumpleton <graham.dumple...@gmail.com> added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4200> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com