##// END OF EJS Templates
protect IPython from bad custom exception handlers...
protect IPython from bad custom exception handlers Previously, errors in custom handlers would result in the custom exception handler's error being printed in lieu of the real exception, and certain cases could cause infinite loops. Now, if CustomTB fails it is unregistered immediately, and the original TB is also displayed. IPython's own BdbQuit_IPython_excepthook had an invalid signature, which revealed this issue, and has also been fixed. test included. closes #692

File last commit:

r4924:113dc5b1
r4991:ed5078c9
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()