diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-07-19 00:03:19 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-07-19 00:03:19 +0000 |
commit | 112aad3630975da8a949291faaab5c578442e9d2 (patch) | |
tree | 895182e4ff00e18eeba021799b20aca92f5e0f7c /Python/modsupport.c | |
parent | 73a9eade1c864a5351c4a33cd20983f11dd79d94 (diff) | |
download | cpython-git-112aad3630975da8a949291faaab5c578442e9d2.tar.gz |
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.
Diffstat (limited to 'Python/modsupport.c')
0 files changed, 0 insertions, 0 deletions