##// END OF EJS Templates
Merge pull request #3814 from minrk/no-complete...
Merge pull request #3814 from minrk/no-complete add `ConsoleWidget.execute_on_complete_input` flag disables input-parsing in the QtConsole, which is inappropriate for non-Python kernels. Disabling execute_on_complete_input requires shift-enter to execute, just like the Notebook. Not sure if we want this for 1.0 or not. It's pretty trivial, but it is technically a new feature.

File last commit:

r10110:30fce8a6
r11819:e45a7743 merge
Show More
tokenize2.py
9 lines | 158 B | text/x-python | PythonLexer
Thomas Kluyver
Now include patched copies of tokenize for Python 2 and 3.
r10110 """Load our patched versions of tokenize.
"""
import sys
if sys.version_info[0] >= 3:
from _tokenize_py3 import *
else:
from _tokenize_py2 import *