let me try to ask the question again in a simpler more generic way.  i thought 
that the following lines of code, could not fail even if another library in the 
same process initialized the python interpreter first.


if (!Py_IsInitialized()) {
     Py_Initialize();
}

PyEval_InitThreads();
interpreter = PyThreadState_Swap(NULL);


what could another library do to make this fail?  and is there anything i can 
do 
to make this work in all situations?

thanks,

bryan

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to