STINNER Victor <victor.stin...@haypocalc.com> added the comment:

Another problem with my patch! If initsite() calls PyGILState_Ensure(): 
assert(autoInterpreterState) fails because autoInterpreterState is NULL.

_PyGILState_Init() have to be called before initsite(). I don't know where it 
should be called exactly. Why not just after the PyThreadState_New() (in 
Py_InitializeEx())?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7544>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to