I heard Hans-Peter Jansen said: > Just close()ing the main widget should do the job nicely, as long as > the exception doesn't occur in the ctor/dtor paths of the main > widget.
Okay, danke schon! Erm... I happen to have another question... Exception handling while constructing the interface works fine, but I've got a problem with the event loop. While it is running, it'll drop all the exceptions silently after outputing the traceback to stderr. Is there any way to tell it NOT to brush exceptions under the carpet, so to speak? Or, alternatively, to install the exception handler *inside* the event loop rather than around it? > Needless to say, you cannot protect your app from crashes happened on > Qt level. Yeah, I know, but the point is mostly to keep users safe from bugs in MY code. :) > Comments? Yeah, your test app works perfectly here (PyQt and sip 3.8), no exceptions, no crash, etc. Is it normal? -- S. _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde