##// END OF EJS Templates
Merge pull request #1495 from rkern/fix-hyperobject-pprint...
Merge pull request #1495 from rkern/fix-hyperobject-pprint BUG: Fix pretty-printing for overzealous objects Some classes use __getattr__ to automatically create requested attributes. The recent trend of LINQ-like query objects is what I ran into. This confuses the pretty-printing machinery that tests for _repr_pretty_. This pull request fixes many of these problems by simply testing if the _repr_pretty_ attribute is callable. This may still be confused by certain mocking frameworks, but it's a good start.
Min RK -
r6272:873e3647 merge
Show More
Name Size Modified Last Commit Author
/ IPython / quarantine
tests
InterpreterExec.py Loading ...
__init__.py Loading ...
envpersist.py Loading ...
ext_rescapture.py Loading ...
ipy_app_completers.py Loading ...
ipy_completers.py Loading ...
ipy_editors.py Loading ...
ipy_exportdb.py Loading ...
ipy_extutil.py Loading ...
ipy_fsops.py Loading ...
ipy_gnuglobal.py Loading ...
ipy_jot.py Loading ...
ipy_lookfor.py Loading ...
ipy_profile_doctest.py Loading ...
ipy_pydb.py Loading ...
ipy_rehashdir.py Loading ...
ipy_render.py Loading ...
ipy_server.py Loading ...
ipy_signals.py Loading ...
ipy_synchronize_with.py Loading ...
ipy_system_conf.py Loading ...
ipy_which.py Loading ...
ipy_winpdb.py Loading ...
ipy_workdir.py Loading ...
jobctrl.py Loading ...
ledit.py Loading ...
win32clip.py Loading ...