##// END OF EJS Templates
Merge pull request #4504 from takluyver/inputtransformer-syntaxerror...
Merge pull request #4504 from takluyver/inputtransformer-syntaxerror Allow input transformers to raise SyntaxError, if they consider a line of input code invalid. The main motivating use case for this was Sage, this is a continuation of @vbraun's gh-4089. For background, see http://python.6.x6.nabble.com/Raising-a-SyntaxError-in-InputTransformer-td5027773.html. Also, took advantage of the opportunity to refactor and simplify `run_cell` a bit.

File last commit:

r14009:6f019b30
r14990:07072a49 merge
Show More
__main__.py
3 lines | 105 B | text/x-python | PythonLexer
MinRK
add `python -m` entry points for everything
r14009 if __name__ == '__main__':
from IPython.html import notebookapp as app
app.launch_new_instance()