commit | b74eca93496e7abcf5fc10b15aef55739e6074d5 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Sep 30 22:03:16 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Sep 30 22:03:16 1997 +0000 |
tree | ad1fe06512c3133351d00d7bac9f69118d351342 | |
parent | b4102bf5f8bb429788e317312c353dd2965cdf4f [diff] |
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)'').