Kirill Simonov wrote:
> Hi,
>
> Could someone tell me why my extension module works under Python 2.4, but
> fails with Segmentation Fault under Python 2.3? Here is the stripped version:
Maybe Python threads aren't initialized? Adding a call to
PyEval_InitThreads() stops the seg fault for me in Py
Hi,
Could someone tell me why my extension module works under Python 2.4, but
fails with Segmentation Fault under Python 2.3? Here is the stripped version:
#include
static PyObject *
test_gil(PyObject *self)
{
PyGILState_STATE gs;
Py_BE