sys.exit(1)
signal.signal(signal.SIGINT, handler)
for x in large_list:
    function_that_catches_KeyboardInterrupt(x)
In Python, can I prevent a function from catching KeyboardInterrupt and SystemExit?