summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-09-30 22:03:16 +0000
committerGuido van Rossum <guido@python.org>1997-09-30 22:03:16 +0000
commitc6bc12a692b94a0b0906783e6fcd79a5ec60f111 (patch)
treea8ccb26877e7be30d7293b52f0b8b0a6ccfb7abc /Python/errors.c
parent93b50409381f436f8cf9094469d31b0ff1b34400 (diff)
downloadcpython-c6bc12a692b94a0b0906783e6fcd79a5ec60f111.tar.gz
Change PyEval_SaveThread() and PyEval_RestoreThread() to always do the
tstate swapping. Only the acquiring and releasing of the lock is conditional (twice, under ``#ifdef WITH_THREAD'' and inside ``if (interpreter_lock)'').
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions