◐ Shell
clean mode source ↗

Message 60070 - Python tracker

> PyGILState_Ensure would still be broken.  
> It touches various things that get torn down (autoInterpreterState,
> autoTLSkey, and the HEAD_LOCK macros) before it grabs the GIL.
> Reordering should be possible of course.

Adam, did you notice the change on revision 59231 ? the
PyGILState_Ensure stuff should now remain valid during the
PyInterpreterState_Clear() call.