##// END OF EJS Templates
add strict flag to arg_split, to optionally ignore shlex parse errors...
add strict flag to arg_split, to optionally ignore shlex parse errors Sometimes we pass things that aren't really command-line args to arg_split, e.g: %timeit python_code(" ") This commit adds a `strict` flag, which defaults to the same raising behavior as before. Currently magic_timeit is the *only* place, we use strict=False, but it should also be done in completions (PR #1116). closes #1109

File last commit:

r4246:4232a692
r5672:4f1e79bd
Show More
ipython
7 lines | 153 B | text/plain | TextLexer
#!/usr/bin/env python
"""Terminal-based IPython entry point.
"""
from IPython.frontend.terminal.ipapp import launch_new_instance
launch_new_instance()