##// END OF EJS Templates
Sets error_before_exec to be the value of the exception instead of the stack trace
lllf -
Show More
@@ -2988,7 +2988,7 b' class InteractiveShell(SingletonConfigurable):'
2988 self.showtraceback(preprocessing_exc_tuple)
2988 self.showtraceback(preprocessing_exc_tuple)
2989 if store_history:
2989 if store_history:
2990 self.execution_count += 1
2990 self.execution_count += 1
2991 return error_before_exec(preprocessing_exc_tuple[2])
2991 return error_before_exec(preprocessing_exc_tuple[1])
2992
2992
2993 # Our own compiler remembers the __future__ environment. If we want to
2993 # Our own compiler remembers the __future__ environment. If we want to
2994 # run code with a separate __future__ environment, use the default
2994 # run code with a separate __future__ environment, use the default
General Comments 0
You need to be logged in to leave comments. Login now