commit | a59406abdfd1393db708b379003fe3ab0dd0af2e | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Oct 10 17:39:19 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Oct 10 17:39:19 1997 +0000 |
tree | 4d15e01e6ca96c7b9a27955b0a3e2384465007ce | |
parent | 04d5c5827af1819d0b114655a3c5359bdd42a4a7 [diff] |
Darn. When thread support is disabled, the BEGIN/END macros don't save and restore the tstate, but explicitly calling PyEval_SaveThread() does reset it! While I think about how to fix this for real, here's a fix that avoids getting a fatal error.