##// END OF EJS Templates
use unicode_to_str with readline.add_history...
use unicode_to_str with readline.add_history mutliline PR #838 added a call to readline.add_history, but without the unicode/str protection used elsewhere, allowing `In[1]: u'é'` to crash IPython. This makes the call match others in core.interativeshell.

File last commit:

r4924:113dc5b1
r5095:240f0774
Show More
setup.py
11 lines | 200 B | text/x-python | PythonLexer
#!/usr/bin/env python
"""This calls the setup routine for Python 2 or 3 as required."""
import sys
if sys.version_info[0] >= 3:
from setup3 import main
else:
from setup2 import main
main()