I ran into a problem with PyGILState_Release under Python < 2.4.2,
that forced me to call PyEval_InitThreads() in my extension module.

2.4.2 had a fix for that problem :"It is now safe to call
PyGILState_Release() before PyEval_InitThreads()" (from the NEWS
file).

I can live with this call, but I was wondering if there isn't a better
way. As PyEval_ThreadsInitialized is not available either, it seems
there is no way to know if threads have been initialized.

Thanks!

--
Thomas

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

Reply via email to