##// END OF EJS Templates
Don't let invalid aliases crash IPython...
Don't let invalid aliases crash IPython e.g. `ipython --foo-bar=5` would raise a SyntaxError parsing the commmand-line, because `self.config.foo-bar=5` would be evaluated. Syntax Errors on the rhs were already protected, but they could get into the lhs via the alias syntax. closes gh-886

File last commit:

r4924:113dc5b1
r5190:11bca294
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()