]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
SF bug 1524317: configure --without-threads fails to build
authorTim Peters <tim.peters@gmail.com>
Wed, 19 Jul 2006 00:03:19 +0000 (00:03 +0000)
committerTim Peters <tim.peters@gmail.com>
Wed, 19 Jul 2006 00:03:19 +0000 (00:03 +0000)
commit112aad3630975da8a949291faaab5c578442e9d2
tree895182e4ff00e18eeba021799b20aca92f5e0f7c
parent73a9eade1c864a5351c4a33cd20983f11dd79d94
SF bug 1524317: configure --without-threads fails to build

Moved the code for _PyThread_CurrentFrames() up, so it's no longer
in a huge "#ifdef WITH_THREAD" block (I didn't realize it /was/ in
one).

Changed test_sys's test_current_frames() so it passes with or without
thread supported compiled in.

Note that test_sys fails when Python is compiled without threads,
but for an unrelated reason (the old test_exit() fails with an
indirect ImportError on the `thread` module).  There are also
other unrelated compilation failures without threads, in extension
modules (like ctypes); at least the core compiles again.

Do we really support --without-threads?  If so, there are several
problems remaining.
Lib/test/test_sys.py
Misc/NEWS
Python/pystate.c