Catching exceptions in Tkinter's mainloop

Mike Callahan mcalla at home.com
Thu Mar 22 16:09:33 EST 2001


OK Richard,

I will do some more digging on this end. Thanks for all your help. By the
way, do you know the difference between mainloop() and mainloop(1)? What is
the optional argument for?

Mike C.

"Richard Townsend" <richard at starfighter.freeuk.com> wrote in message
news:oWru6.48063$HR6.5435948 at nnrp4.clara.net...
> "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