diff options
author | Guido van Rossum <guido@python.org> | 1998-09-21 14:47:16 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-09-21 14:47:16 (GMT) |
commit | 469067800b0a34fea4b9d593770784ce1e40de58 (patch) | |
tree | af4f46a02e467c4c9a6b1f307d0abd6b82c5d531 | |
parent | 1b236768e70bcd626239eeeb18db170ae7cdf41e (diff) | |
download | cpython-469067800b0a34fea4b9d593770784ce1e40de58.zip cpython-469067800b0a34fea4b9d593770784ce1e40de58.tar.gz cpython-469067800b0a34fea4b9d593770784ce1e40de58.tar.bz2 |
Get rid of the test for non-NULL thread state in EventHook; it can be
triggered in situations that are not an error.
-rw-r--r-- | Modules/_tkinter.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 8f1e4f7..f619032 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -1899,8 +1899,6 @@ EventHook() #ifndef MS_WINDOWS FHANDLE tfile; #endif - if (PyThreadState_Swap(NULL) != NULL) - Py_FatalError("EventHook with non-NULL tstate\n"); PyEval_RestoreThread(event_tstate); stdin_ready = 0; errorInCmd = 0; |