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

r21326:c5b82206
r22749:fce2225f
Show More
daemonize.py
4 lines | 148 B | text/x-python | PythonLexer
Min RK
shim IPython.utils.daemonize
r21088 from warnings import warn
Min RK
ipython_parallel is now ipyparallel
r21326 warn("IPython.utils.daemonize has moved to ipyparallel.apps.daemonize")
from ipyparallel.apps.daemonize import daemonize