bundles / IPython 9.17.0 / IPython / core / crashhandler / CrashHandler / __init__
function
IPython.core.crashhandler:CrashHandler.__init__
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: ApplicationA running
Applicationinstance, which will be queried at crash time for internal information.contact_name: strA string with the name of the person to contact.
contact_email: strA string with the email address of the contact.
bug_tracker: strA string with the URL for your project's bug tracker.
show_crash_traceback: boolIf false, don't print the crash traceback on stderr, only generate the on-disk report
call_pdbWhether to call pdb on crash
Attributes
These instances contain some non-argument attributes which allow forfurther customization of the crash handler's behavior. Please see thesource for further details.
Aliases
IPython.core.crashhandler.CrashHandler.__init__