##// END OF EJS Templates
Pretty print dict_proxy as prefixed in CPython 2.7...
Pretty print dict_proxy as prefixed in CPython 2.7 - Add tests for dict proxies (instances of types.DictProxyType) - Uses the "dict_proxy({...})" pattern for representation, as happens in CPython 2.7 with types.DictProxyType.__repr__ - Used ctypes.pythonapi.PyDictProxy_New to instantiate dict proxies inside the tests - Only for CPython 2.7: in PyPy the types.DictProxyType is dict, and in CPython 3 there's no such type, just the new types.MappingProxyType in CPython 3.3+

File last commit:

r21168:10680fd9
r22749:fce2225f
Show More
eventful.py
7 lines | 164 B | text/x-python | PythonLexer
Min RK
shim IPython.utils.eventful
r21168 from __future__ import absolute_import
from warnings import warn
warn("IPython.utils.eventful has moved to traitlets.eventful")
from traitlets.eventful import *