##// END OF EJS Templates
More work on the crash handler....
More work on the crash handler. * Made a subclass of :class:`IPython.core.crashhandler.CrashHandler` for each application we have. Each of these has a custom message and uses the name and email of the appropriate personf for that app. * Removed the :meth:`IPython.core.application.abort` method. * Made small changes to how the crash handler is instantiated in :class:`IPython.core.application.Application`. * Tested the crash handlers.

File last commit:

r2267:928c921b
r2506:737017de
Show More
ipy_stock_completers.py
17 lines | 529 B | text/x-python | PythonLexer
""" Install various IPython completers
IPython extension that installs completers related to core ipython behaviour.
The actual implementations are in extensions/ipy_completers.py
"""
from IPython.core import ipapi
ip = ipapi.get()
from ipy_completers import *
ip.set_hook('complete_command', module_completer, str_key = 'import')
ip.set_hook('complete_command', module_completer, str_key = 'from')
ip.set_hook('complete_command', runlistpy, str_key = '%run')
ip.set_hook('complete_command', cd_completer, str_key = '%cd')