On 24.05.07 22:37:27, Arve Knudsen wrote: > Hi Detlev > > On 5/24/07, Detlev Offenbach <[EMAIL PROTECTED]> wrote: > > > >On Mittwoch, 23. Mai 2007, Arve Knudsen wrote: > >> Is it possible to register a hook with QApplication in order to be > >notified > >> of an unhandled exception? Currently, all that happens when an exception > >> propagates to the event loop is that it gets printed in the console, > >which > >> is not very helpful. How do others cope with unhandled exceptions in > >PyQt > >> applications? > >> > >> Best regards, > >> Arve Knudsen > > > >See eric4 as an example. > > > I'm not at all familiar with eric4. Could you please elaborate as to where I > can look in eric4's source code (I assume this is what you mean)? Also, I > take it eric4 does something more advanced than override sys.excepthook?
Google for eric4 tells you the homepage (I don't have a link at hand), you can download the sources from the website (its something like www.die-offenbachs.de/detlev or similar). Andreas -- You will win success in whatever calling you adopt. _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt