InteractiveInterpreter.showsyntaxerror():
When replacing the exception object, be sure we stuff the new value in sys.last_value (which we already did for the original value).
Showing
Please register or sign in to comment
When replacing the exception object, be sure we stuff the new value in sys.last_value (which we already did for the original value).