Michiel Jan Laurens de Hoon wrote: >>Yes, you can. Actually, Tkinter *always* runs in a separate thread >>(separate from all other threads). >> > Are you sure? If Tkinter is running in a separate thread, then why does > it need PyOS_InputHook?
Well, my statement was (somewhat deliberately) misleading. That separate thread might be the main thread (and, in many cases, is). The main thread is still a "separate" thread (separate from all others). Regards, Martin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com