def _SignalHandler(signal_num, cur_stack_frame):
  if signal_num in _non_final_signal_handlers:
    for handler in _non_final_signal_handlers[signal_num]:
      handler(signal_num, cur_stack_frame)
  if signal_num in _final_signal_handlers:
    _final_signal_handlers[signal_num](signal_num, cur_stack_frame)
Global signal handler.
dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/sig_handling.py/_SignalHandler