##// END OF EJS Templates
Backport PR #6081: don’t modify dict keys while iterating through them...
Backport PR #6081: don’t modify dict keys while iterating through them in `jsonutil.rekey`, which could prevent some keys from being modified during the iteration. closes #5901 Fixes 'unorderable types' failure on Python 3 in test_client: ...

File last commit:

r13347:54891794
r17155:a70897a4
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 *