##// 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:

r21083:13de4d6a
r22749:fce2225f
Show More
log.py
7 lines | 149 B | text/x-python | PythonLexer
from __future__ import absolute_import
from warnings import warn
warn("IPython.utils.log has moved to traitlets.log")
from traitlets.log import *