[issue1402] Interpreter cleanup: order of _PyGILState_Fini and PyInterpreterState_Clear

Ronald Oussoren report at bugs.python.org
Thu Nov 22 11:52:09 CET 2007


Ronald Oussoren added the comment:

The attached patch fixes the crash, but I haven't verified if the patch 
is actually correct. 

With this patch some PyThread API's are called after PyInterpreterState_Clear and I don't know if it is valid to do so. All 
unittests pass fine on OSX though.

Added file: http://bugs.python.org/file8793/pygilstate.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1402>
__________________________________
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pygilstate.patch
Url: http://mail.python.org/pipermail/python-bugs-list/attachments/20071122/44f7c6ee/attachment.txt 


More information about the Python-bugs-list mailing list