Mercurial > cpython-lru_cache-weakref
comparison Python/codecs.c @ 39118:85b23965ec4c legacy-trunk
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.
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Wed, 19 Jul 2006 00:03:19 +0000 |
| parents | 6f042f5bf94d |
| children | 4fe192d48960 |
comparison
equal
deleted
inserted
replaced
| 39117:acff1c34cca3 | 39118:85b23965ec4c |
|---|
