Exception hook should be optional for embedding IPython in GUIs
Bug #337105 reported by
Gael Varoquaux
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IPython |
Triaged
|
High
|
Unassigned |
Bug Description
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.
To post a comment you must log in.
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 iplib.Interacti veShell. isThreaded = True
IPython.
-- tinyurl. com/vainio
Ville M. Vainio
http://