##// END OF EJS Templates
Fix dispatching in the pretty printing module....
Fix dispatching in the pretty printing module. Search for the best method to use for pretty printing an object now no longer prefers any registered printer in type_printers for the class or any of the base classes over a _repr_pretty_ method defined in the class or any of its base classes. Instead the mro is walked, looking for both registered printers and _repr_pretty_ methods, so that the inheritance hierarchy will be taken into account.

File last commit:

r4872:34c10438
r6313:63f389bc
Show More
ipy_system_conf.py
24 lines | 533 B | text/x-python | PythonLexer
""" System wide configuration file for IPython.
This will be imported by ipython for all users.
After this ipy_user_conf.py is imported, user specific configuration
should reside there.
"""
from IPython.core import ipapi
ip = ipapi.get()
# add system wide configuration information, import extensions etc. here.
# nothing here is essential
import sys
import ext_rescapture # var = !ls and var = %magic
import pspersistence # %store magic
import clearcmd # %clear
import ipy_stock_completers
ip.load('IPython.core.history')