Comment 2 for bug 337105

Revision history for this message
Gael Varoquaux (gael-varoquaux) wrote : Re: [Bug 337105] [NEW] Exception hook should be optional for embedding IPython in GUIs

On Tue, Mar 03, 2009 at 08:28:03AM -0000, Ville M. Vainio wrote:
> On Tue, Mar 3, 2009 at 10:19 AM, Gael Varoquaux
> <email address hidden> wrote:
> > Public bug reported:

> > When embbeding IPython, the exception hook (IPython crashed.... )
> > captures exception that are not IPython exceptions. It can be desirable
> > not to capture any exceptions and to let the application designer deal
> > with the exceptions.

> > As such, it would be nice if the main exception hook could be disabled
> > by a switch on the IPython0 instance.

> I accomplish this in qt ui by:

> # cruel hack to avoid subclassing and prevent crash handler
> IPython.iplib.InteractiveShell.isThreaded = True

OK, that will do the trick. I believe we can close this bug report.

Thanks,

Gaël