diff options
author | Guido van Rossum <guido@python.org> | 1997-08-19 01:00:50 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-08-19 01:00:50 (GMT) |
commit | 5b02078e31c41efa4d2e41fb4301e43d86375a9a (patch) | |
tree | e16fbc0748edf9a1b36219dabb9ba58d4ff89e10 /Modules | |
parent | fd7a0b871f9114bc989c4f9b2ea4ee3a8b6dd662 (diff) | |
download | cpython-5b02078e31c41efa4d2e41fb4301e43d86375a9a.zip cpython-5b02078e31c41efa4d2e41fb4301e43d86375a9a.tar.gz cpython-5b02078e31c41efa4d2e41fb4301e43d86375a9a.tar.bz2 |
Alas, the thread support for Tk didn't work. Withdraw it, until I
figure out how to do this right.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_tkinter.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index e0f207b..0abe271 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -1265,6 +1265,7 @@ Tkapp_MainLoop(self, args) !errorInCmd) { int result; +#ifdef THIS_CODE_IS_BUGGY result = Tcl_DoOneEvent(TCL_DONT_WAIT); if (PyErr_CheckSignals() != 0) return NULL; @@ -1276,6 +1277,9 @@ Tkapp_MainLoop(self, args) Py_BEGIN_ALLOW_THREADS result = Tcl_WaitForEvent((Tcl_Time *)NULL); Py_END_ALLOW_THREADS +#else + result = Tcl_DoOneEvent(0); +#endif if (PyErr_CheckSignals() != 0) return NULL; if (result < 0) |