[Cython] PATH: force threads initialization for Py2.3, please review

Stefan Behnel stefan_ml at behnel.de
Wed Oct 29 18:49:25 CET 2008


Hi,

just a quick comment on this one:

Lisandro Dalcin wrote:
> The problem: If at the point PyGILState_Release() is called, the GIL
> whas not yet created, then the Python (2.3) interpreter segfautls.

I remember seeing lxml segfault also on Py2.4.1, not sure if it was for the
same reason. I currently use a check for Py < 2.4.2 in a header file to turn
off threading support. This might be needed here, too.

Stefan



More information about the Cython-dev mailing list