(signum, frame)
the signal handler used in this module: print a stacktrace and
    then re-raise the signal
the signal handler used in this module: print a stacktrace and
    then re-raise the signal
the signal handler used in this module : print a stacktrace and then re - raise the signal
def dumpHandler(signum, frame):
    """
    the signal handler used in this module: print a stacktrace and
    then re-raise the signal
    """
    resetFatalSignals()
    print("*** Handling fatal signal '%d'." % signum)
    traceback.print_stack(frame)
    print("*** Restored handlers and resignaling.")
    os.kill(os.getpid(), signum)
def dumpHandler ( signum , frame ) : resetFatalSignals ( ) print ( "*** Handling fatal signal '%d'." % signum ) traceback . print_stack ( frame ) print ( "*** Restored handlers and resignaling." ) os . kill ( os . getpid ( ) , signum )