{ } Raw JSON

bundles / IPython 9.17.0 / IPython / core / crashhandler / CrashHandler / __init__

function

IPython.core.crashhandler:CrashHandler.__init__

source: /dev/ipython/IPython/core/crashhandler.py:108

Signature

def __init__(self, app: Application, contact_name: str | None = None, contact_email: str | None = None, bug_tracker: str | None = None, show_crash_traceback: bool = True, call_pdb: bool = False)

Summary

Create a new crash handler

Parameters

app : Application

A running Application instance, which will be queried at crash time for internal information.

contact_name : str

A string with the name of the person to contact.

contact_email : str

A string with the email address of the contact.

bug_tracker : str

A string with the URL for your project's bug tracker.

show_crash_traceback : bool

If false, don't print the crash traceback on stderr, only generate the on-disk report

call_pdb

Whether to call pdb on crash

Attributes

These instances contain some non-argument attributes which allow for
further customization of the crash handler's behavior. Please see the
source for further details.

Aliases

  • IPython.core.crashhandler.CrashHandler.__init__