Is there a way to prevent a SystemExit exception raised from sys.exit() from being caught?
Is there a way to make py.test ignore SystemExit raised on a child process?
How to efficiently exit a python program if any exception is raised/caught How do I get the method that my exception was raised in? Can't catch SystemExit exception Python Exception not raised - Python Why does Python's argparse use an error code of 2 for SystemExit? Is sys.exit equivalent to raise SystemExit? What exception should be raised when a function can't be called at this time? verify the the error code or message from SystemExit in pytest how do I change what an exception does when raised? Setting exit code in Python when an exception is raised Unittest: assert right SystemExit code strange exceptions.SystemExit in Python 2.7 Why are the methods sys.exit(), exit(), raise SystemExit not working? Python: using sys.exit or SystemExit differences and suggestions SystemExit: 2 error when calling parse_args() In Python, can I prevent a function from catching KeyboardInterrupt and SystemExit? Python exception not caught How to get name of exception that was caught in Python? Exception caught even value is true? Why exception is not properly caught? SystemExit when starting a new Scrapy project Why "except Exception" doesn't catch SystemExit? Python 3.3.2 doesn't allow me to use 'raise SystemExit' Python: run "try" again after exception caught and worked out TypeError exception not being caught Caught exception is None Why isn't the exception caught by << try >>? Python: Exception raised even when caught in try/except clause How to access re-raised exception in Python 3?