##// END OF EJS Templates
Avoid loading readline in the kernel...
Avoid loading readline in the kernel This bit of code was loading readline even when there was no need for it. In a Qt console or notebook, try: 'readline' in sys.modules 'gnureadline' in sys.modules I plan to rework this code more extensively once we've switched to prompt_toolkit, but for now, this little fix should make the kernel start slightly faster.

File last commit:

r6547:cca0bfa1
r21935:826a334f
Show More
nonascii.py
5 lines | 175 B | text/x-python | PythonLexer
Thomas Kluyver
Workaround for bug in Python 3.1 py_compile
r6547 # coding: iso-8859-5
Thomas Kluyver
Add file required for Unicode test.
r6302 # (Unlikely to be the default encoding for most testers.)
# ������������������� <- Cyrillic characters
from __future__ import unicode_literals
u = '����'