##// END OF EJS Templates
Merge pull request #1398 from minrk/tb_syntaxerror...
Merge pull request #1398 from minrk/tb_syntaxerror fix %tb after SyntaxError Moves exc_info extraction to Shell._get_exc_info, since it was done twice in different places, and differently. Synchronizes expectations between showtraceback() and showsyntaxerror(), and ensures that sys.last_type, etc. get the right value. Previously failing test added.

File last commit:

r2058:7e8fc59a
r6189:94efbf76 merge
Show More
pycolor
6 lines | 183 B | text/plain | TextLexer
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Simple wrapper around PyColorize, which colorizes python sources."""
import IPython.utils.PyColorize
IPython.utils.PyColorize.main()