Message129515
It seems that PyEval_InitThreads() can no longer be called before
Py_Initialize(). I get a fatal error in PyThreadState_GET().
This contradicts the documentation
http://docs.python.org/release/3.2/c-api/init.html#PyEval_InitThreads
Minimal repro:
#include "Python.h"
int main()
{
PyEval_InitThreads();
return 0;
}
Everything works if Py_Initialize() is called first. |
|
Date |
User |
Action |
Args |
2011-02-26 09:50:07 | Juraj.Ivancic | set | recipients:
+ Juraj.Ivancic |
2011-02-26 09:50:07 | Juraj.Ivancic | set | messageid: <1298713807.05.0.622715753988.issue11329@psf.upfronthosting.co.za> |
2011-02-26 09:49:51 | Juraj.Ivancic | link | issue11329 messages |
2011-02-26 09:49:51 | Juraj.Ivancic | create | |
|