[pypy-issue] [issue1069] PyThread_set_key_value and PyThread_delete_key_value missing from cpyext support

Amaury Forgeot d Arc tracker at bugs.pypy.org
Mon Mar 5 13:53:24 CET 2012


Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:

Hmm, I copied the code verbatim, from CPython 2.7.  Your interpreter is certainly 
compiled with assertions disabled.

PyEval_SaveThread() always return NULL in pypy.  But I don't know if there is a 
better value, since the GIL is always released in C code.
Or we could again use an empty definition for MY_BEGIN_ALLOW_THREADS...

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1069>
________________________________________


More information about the pypy-issue mailing list