##// END OF EJS Templates
Lots of work on exception handling, including tests for traceback printing....
Lots of work on exception handling, including tests for traceback printing. We finally have some tests for various exception mode printing, via doctests that exercise all three modes! Also changed handling of sys.exit(X) to only print the summary message, as SystemExit is most often a 'handled' exception. It can still be 100% silenced via '%run -e', but now it's much less intrusive. Added a new %tb magic to print the last available traceback with the current xmode. One can then re-print the last traceback with more detail if desired, without having to cause it again.

File last commit:

r1251:99658885
r2440:0caaf43a
Show More
seteditor.py
15 lines | 113 B | text/x-python | PythonLexer
import os
editor = r'q:/opt/np/notepad++.exe'
e = os.environ
e['EDITOR'] = editor
e['VISUAL'] = editor