##// END OF EJS Templates
Merge pull request #4016 from takluyver/IPython-start-funcs...
Merge pull request #4016 from takluyver/IPython-start-funcs Fix IPython.start_* functions start_kernel() didn't work at all (#4005), and I found while investigating that passing user_ns to either start_ipython() or start_kernel() had no effect, because the Application wasn't passing it on to the Shell. This is a simple fix for the most pressing issues. We should think about any other parameters that we want to be passed through from our top level API, e.g. possibly user_module. closes #4005

File last commit:

r10110:30fce8a6
r12189:d3e2f732 merge
Show More
tokenize2.py
9 lines | 158 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 *