[issue6933] Threading issue with Tkinter Frame.insert
Terry J. Reedy
report at bugs.python.org
Sun May 13 00:56:37 EDT 2018
Terry J. Reedy <tjreedy at udel.edu> added the comment:
I changes the import to theading instead of thread and the start line to
threading.Thread(target=example)
On 3.7 with tcl/tk 8.6 with thread support, I see the gui when mainloop is called in the thread, and then the >>> prompt appears. On 2.7 with tk 8.5 without thread support, I see no hang but only >>>, no box, after the same time delay.
With thread support, thread calls work. Without, success varies, and so do failure modes. See #33479 for proposed doc on tkinter and thread safety.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue6933>
_______________________________________
More information about the Python-bugs-list
mailing list