On 5/25/07, Detlev Offenbach <[EMAIL PROTECTED]> wrote:
On Donnerstag, 24. Mai 2007, 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
On Donnerstag, 24. Mai 2007, 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?
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
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 loo
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.
On 5/23/07, Sundance <[EMAIL PROTECTED]> wrote:
Arve Knudsen wrote:
> If an exception is raised in the last Python
> layer, it is swallowed by the excepthook and a nice message box pops
> up, BUT once control returns to the first Python layer
Hi again,
In my opinion, the exception hook should
Arve Knudsen wrote:
> If an exception is raised in the last Python
> layer, it is swallowed by the excepthook and a nice message box pops
> up, BUT once control returns to the first Python layer
Hi again,
In my opinion, the exception hook should never even return. That's what
I meant when I sai
-- Forwarded message --
From: Arve Knudsen <[EMAIL PROTECTED]>
Date: May 23, 2007 3:29 PM
Subject: Re: [PyQt] Exception handling hook
To: Sundance <[EMAIL PROTECTED]>
On 5/23/07, Sundance <[EMAIL PROTECTED]> wrote:
Arve Knudsen wrote:
> Is it possible to
Arve Knudsen wrote:
> Is it possible to register a hook with QApplication in order to be
> notified of an unhandled exception?
Hi Arve,
Exceptions live in the Python realm, so they have nothing to do with
QApplication as far as I know.
You can install an exception handler with sys.excepthook.
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
10 matches
Mail list logo