This function first checks if a Python exception is set, and then (if one is) pulls it out, stuffs it in a PythonException, and throws that exception.
If this exception is never caught, it will be handled by exception_catcher (below) and passed right back into Python as though nothing happened.
See Implementation
This function first checks if a Python exception is set, and then (if one is) pulls it out, stuffs it in a PythonException, and throws that exception.
If this exception is never caught, it will be handled by exception_catcher (below) and passed right back into Python as though nothing happened.