First of all, I know Tkinter isn't thread safe and this problem has something to do with that but I wanted to find out formally why this code makes a window that displays but is unresponsive.
from Tkinter import *
root = Tk()
c = Canvas()
c.pack()
c.create_line(10,10, 30, 30)
root.update()
I want to know why it crashes. I know the last line should contain a mainloop() but if as this post says mainloop just continuously calls the two methods there is no reason the above code should be unresponsive.