##// END OF EJS Templates
check if readline is available before calling readline functions in ipy_defaults.py
jstenar -
r537:6e28a731
parent child
Show More
@@ -53,7 +53,8 set show-all-if-ambiguous on
53 53 "\C-k": kill-line
54 54 "\C-u": unix-line-discard"""
55 55
56 for cmd in rlopts.split('\n'):
57 readline.parse_and_bind(cmd)
56 if readline.have_readline:
57 for cmd in rlopts.split('\n'):
58 readline.parse_and_bind(cmd)
58 59
59 60
@@ -1,3 +1,8
1 2007-03-02 J�rgen Stenarson <jorgen.stenarson@bostream.nu>
2
3 * IPython/Extensions/ipy_defaults.py: Check if readline is available
4 before calling functions from readline.
5
1 6 2007-03-02 Walter Doerwald <walter@livinglogic.de>
2 7
3 8 * IPython/Extensions/igrid.py: Add Nik Tautenhahns igrid extension.
General Comments 0
You need to be logged in to leave comments. Login now