[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] Exceptions
From:       Pete Ware <ware () cis ! ohio-state ! edu>
Date:       2000-04-07 0:44:37
[Download RAW message or body]

Phil Thompson <phil@river-bank.demon.co.uk> writes:

> What exactly do you want to see happen?

Well, the "cleanest" seems to be:

while 1:
        try :
                app.exec_loop()
        except X:
                report some warning/suggest bug report
        except KeyboardInterrupt:
                sys.exit (1)

I put quotes around "cleanest" because that means by default every
python error causes the application to quit -- which can be quite
mysterious in a window'd environment.

Mostly, I'd be satisified if I could just popup a window to show
the stacktrace.

--pete


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic