[issue4443] Python/pystate.c:561 :PyGILState: The assertion 'autoInterpreterState' has failed
Amaury Forgeot d'Arc
report at bugs.python.org
Thu Nov 27 13:11:34 CET 2008
Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:
> Py_Initialize();
> Py_Main(7, arg1);
> Py_Finalize();
This seems correct... unless two threads run this function at the same
time. Can you ensure that this is not the case?
It seems to me that a simple call to
system("python /home/olpc/copy-to-Journal.py [other-args-here]")
would be better...
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4443>
_______________________________________
More information about the Python-bugs-list
mailing list