##// END OF EJS Templates
install stock completers in default user config. Ignore case in filtering possible custom completions
install stock completers in default user config. Ignore case in filtering possible custom completions

File last commit:

r389:0e60724a
r403:f25e889d
Show More
ipy_pydb.py
21 lines | 455 B | text/x-python | PythonLexer
import pydb
import IPython.ipapi
from IPython.genutils import arg_split
ip = IPython.ipapi.get()
def call_pydb(self, args):
argl = arg_split(args)
# print argl # dbg
if ip.IP.has_readline:
ip.IP.savehist()
try:
pydb.runl(*argl)
finally:
if ip.IP.has_readline:
ip.IP.readline.read_history_file(self.shell.histfile)
ip.expose_magic("pydb",call_pydb)