Yes, I see that now in the documentation, which to me is quite confusing. So, how do you use python in a multithreaded environment, where for example you want to run some embeded python code from a number of different C threads?
This article: http://www.linuxjournal.com/article/3641 is quite good, but must have been written before these PyGILState_* functions. I only used Py_NewInterpreter to have a fresh 'import sys'. Somebody enlighten me, please. Martin -- http://mail.python.org/mailman/listinfo/python-list