[issue33412] Tkinter hangs if using multiple threads and event handlers

Guido van Rossum report at bugs.python.org
Wed May 2 19:27:56 EDT 2018


Guido van Rossum <guido at python.org> added the comment:

So it seems threads and Tkinter events don't mix. This doesn't surprise me much. (Similar issues can occur when mixing threads and asyncio if you don't follow the documentation's advice about how to send events across threads.)

Perhaps event_generate() needs to be more careful with locking?

Do you have a suggestion for what to do short of dropping Tkinter support?

----------
nosy: +gvanrossum

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33412>
_______________________________________


More information about the Python-bugs-list mailing list