[issue5035] Compilation --without-threads fails

STINNER Victor report at bugs.python.org
Fri Jan 23 09:14:51 CET 2009


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Why is PyGILState_Ensure() defined in Include/pystate.h in there is not
thread? PyGILState_Ensure() implementation is conditional (in
Python/pystate.c). Here is a patch to make the definition optional.

Added file: http://bugs.python.org/file12838/gil_nothread.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5035>
_______________________________________


More information about the Python-bugs-list mailing list