New submission from Lisandro Dalcin <dalc...@gmail.com>: I've built Python-2.6.5 form with this :
$ ./configure --without-threads --prefix=$HOME/python-without-threads $ make && make install $ cd ~/python-without-threads/lib $ nm libpython2.6.so | grep PyGILState $ At Include/pystate.h, PyGILState_{Ensure|Release} are not protected with #ifdef WITH_THREADS At Python/pystate.c PyGILState_{Ensure|Release} are implemented in a block protected with #ifdef WITH_THREADS AFAIK, this happens in all Python versions back to 2.3 and up to 3.2 ---------- messages: 117531 nosy: dalcinl priority: normal severity: normal status: open title: PyGILState_XXX missing in Python builds without threads versions: Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9972> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com