##// END OF EJS Templates
- add support for PyCrust-style _getAttributeNames magic method. Closes #50....
- add support for PyCrust-style _getAttributeNames magic method. Closes #50. - don't delete exit/quit. Closes #55. - rename 'with' to 'with_obj' to avoid problems in python 2.5. Closes #53. - fix FakeModule, which also closes #59. - add -n option to %edit. - fix various other crashes reported by the automatic crash handler.

File last commit:

r190:bc4a676a
r292:8dcaaddb
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)