]> granicus.if.org Git - python/commit
Darn. When thread support is disabled, the BEGIN/END macros don't
authorGuido van Rossum <guido@python.org>
Fri, 10 Oct 1997 17:39:19 +0000 (17:39 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 10 Oct 1997 17:39:19 +0000 (17:39 +0000)
commita59406abdfd1393db708b379003fe3ab0dd0af2e
tree4d15e01e6ca96c7b9a27955b0a3e2384465007ce
parent04d5c5827af1819d0b114655a3c5359bdd42a4a7
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.
Modules/_tkinter.c
Modules/readline.c