##// END OF EJS Templates
cleanup terminal console iopub handling...
cleanup terminal console iopub handling ensures IOPub for a given cell is handled before drawing the next prompt. Follows logic elsewhere using `status=idle` to signal end of output for a given cell. Prior to this, early execute reply could result in some output being printed after the prompt for the next input.

File last commit:

r10110:30fce8a6
r11670:f1c52deb
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 *