##// END OF EJS Templates
Backport PR #5715: log all failed ajax API requests...
Backport PR #5715: log all failed ajax API requests and add a warning dialog when New Notebook fails. closes #3085 We should probably have more dialogs for failed requests, but logging everything is at least a start.

File last commit:

r13347:54891794
r16629:d2023b67
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 *