##// END OF EJS Templates
Merging in Jorgen's changes to iplib.py for ticket 315392.
Brian Granger -
r1950:a7cd14da merge
parent child Browse files
Show More
@@ -1474,8 +1474,9 b' class InteractiveShell(object,Magic):'
1474 #print "loading rl:",rlcommand # dbg
1474 #print "loading rl:",rlcommand # dbg
1475 readline.parse_and_bind(rlcommand)
1475 readline.parse_and_bind(rlcommand)
1476
1476
1477 # remove some chars from the delimiters list
1477 # Remove some chars from the delimiters list. If we encounter
1478 delims = readline.get_completer_delims()
1478 # unicode chars, discard them.
1479 delims = readline.get_completer_delims().encode("ascii", "ignore")
1479 delims = delims.translate(string._idmap,
1480 delims = delims.translate(string._idmap,
1480 self.rc.readline_remove_delims)
1481 self.rc.readline_remove_delims)
1481 readline.set_completer_delims(delims)
1482 readline.set_completer_delims(delims)
General Comments 0
You need to be logged in to leave comments. Login now