##// END OF EJS Templates
Add a class _CommandInput that implements the basic functionality of...
Add a class _CommandInput that implements the basic functionality of browser commands that require input. Reimplement the goto, find and findbackwards commands as subclasses of _CommandInput. Add an input history and keymaps to those commands. Add "\r" as a keyboard shortcut for the enterdefault and execute commands.

File last commit:

r190:bc4a676a
r326:b89a5b31
Show More
manualtest_repr_tb.py
16 lines | 380 B | text/x-python | PythonLexer
/ test / manualtest_repr_tb.py
"""This should be run directly from ipython, and it should NOT crash.
It can't currently be run via runtests b/c exception handling changes there,
and this is precisely testing exception handling problems."""
ipmagic('xmode verbose')
src = """
class suck(object):
def __repr__(self):
raise ValueError("who needs repr anyway")
suck()
"""
__IPYTHON__.runlines(src)