2012/6/18 Stefan Behnel <[email protected]> > Amaury Forgeot d'Arc, 18.06.2012 16:02: > > 2012/6/18 Stefan Behnel > >> I'm getting reproducible segfaults in the PyThreadState_GetDict() > function > >> with lxml. > > > > Is it similar to https://bugs.pypy.org/issue1175 ? > > "PyThread_{get, set, delete}_key_value should work without the GIL held" > > No. As I said, it has already acquired the GIL when it calls that function.
OK, the answer is quite simple: PyGILState_Ensure() is not really implemented and just returns zero. :-( -- Amaury Forgeot d'Arc
_______________________________________________ pypy-dev mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-dev
