bundles / IPython 9.5.0 / IPython / core / crashhandler / CrashHandler / __init__
function
IPython.core.crashhandler:CrashHandler.__init__
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: 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__