diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-05 23:17:24 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-05 23:17:24 (GMT) |
commit | e989bf587cd0e239de23846a22618613472a71ff (patch) | |
tree | 3e2a6b2332c7eb3e19936c6c1aa3ff40828fcb75 /Lib/pdb.py | |
parent | 37fdcbc4c38ed79f9abc319bdedb26982abccd93 (diff) | |
parent | ca3f435fe6b5de970848eb3a5d8f8e6cd5d2f73c (diff) | |
download | cpython-e989bf587cd0e239de23846a22618613472a71ff.zip cpython-e989bf587cd0e239de23846a22618613472a71ff.tar.gz cpython-e989bf587cd0e239de23846a22618613472a71ff.tar.bz2 |
merge from 3.4
Diffstat (limited to 'Lib/pdb.py')
-rwxr-xr-x | Lib/pdb.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1669,6 +1669,9 @@ def main(): # In most cases SystemExit does not warrant a post-mortem session. print("The program exited via sys.exit(). Exit status:", end=' ') print(sys.exc_info()[1]) + except SyntaxError: + traceback.print_exc() + sys.exit(1) except: traceback.print_exc() print("Uncaught exception. Entering post mortem debugging") |