##// END OF EJS Templates
Catch SyntaxError from tokenizing for traceback...
Catch SyntaxError from tokenizing for traceback I don't think there's an easy way to test this, but I've verified the fix by hand. Closes gh-6300

File last commit:

r13347:54891794
r17634:429008e8
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 *