You are viewing an older version (9.5.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.5.0 / IPython / core / crashhandler / CrashHandler / __init__

function

IPython.core.crashhandler:CrashHandler.__init__

source: /IPython/core/crashhandler.py :102

Signature

def   __init__ ( self app : Application contact_name : Optional[str] = None contact_email : Optional[str] = None bug_tracker : Optional[str] = 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__