Catching exceptions in Tkinter's mainloop

Richard Townsend richard at starfighter.freeuk.com
Thu Mar 22 13:55:46 EST 2001


"Mike Callahan" <mcalla at home.com> wrote in message
news:Qydu6.26214$Q47.7466405 at news1.rdc1.tn.home.com...
> Richard,
>
> On my system, the exception is captured and printed in test.log but
mainloop
> is not exited. Is this what happens on your system?
>
> Mike C.
>

I've tested it on Win98 and Linux (both using Python2.0 & Tk8.3) and it
definitely exits the mainloop in both cases. I have no idea why it doesn't
do the same for you...

Richard






More information about the Python-list mailing list