##// 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:

r4924:113dc5b1
r5672:4f1e79bd
Show More
setup.py
11 lines | 200 B | text/x-python | PythonLexer
#!/usr/bin/env python
"""This calls the setup routine for Python 2 or 3 as required."""
import sys
if sys.version_info[0] >= 3:
from setup3 import main
else:
from setup2 import main
main()