in realbook/callbacks/debugging.py [0:0]
def abort(self) -> None:
# AI Platform will retry the job if we raise SIGABRT.
# We're in a thread here, so we need to kill the whole
# process with os._exit - otherwise we'll just kill the
# current thread and not stop the process.
os._exit(signal.SIGABRT)