##// END OF EJS Templates
i1673 implementation of py3 proper error handling...
i1673 implementation of py3 proper error handling I refactored ultratab.py a bit. `structured_traceback` function was much too long. I extracted some of the code to separate methods. I added support for py3 exceptions which store information about previous exceptions in their `__context__`.

File last commit:

r13347:54891794
r17157:552f2a77
Show More
tokenize2.py
9 lines | 160 B | text/x-python | PythonLexer
"""Load our patched versions of tokenize.
"""
import sys
if sys.version_info[0] >= 3:
from ._tokenize_py3 import *
else:
from ._tokenize_py2 import *