##// END OF EJS Templates
Allow InputTransformers to raise SyntaxErrors...
Allow InputTransformers to raise SyntaxErrors This is a relatively trivial modification of the IPython main loop to catch a possible SyntaxError and print it instead of quitting. Doctesting this change is somewhat tricky since we actually need to run the main TerminalInteractiveShell.interact() loop, and is done through a subprocess and piping in a testcase.

File last commit:

r13347:54891794
r13522:ccd47251
Show More
__init__.py
4 lines | 83 B | text/x-python | PythonLexer
try:
from decorator import *
except ImportError:
from ._decorator import *