##// END OF EJS Templates
Backport PR #2214: use KernelApp.exec_lines/files in IPEngineApp...
Backport PR #2214: use KernelApp.exec_lines/files in IPEngineApp This change means that all your startup/exec_lines config is inherited by engines. should be backported for 0.13.1, because engine startup code is impossible to configure in 0.13. The real long-term fix for this is to make IPEngineApp a subclass of IPKernelApp, but this should be an adequate band-aid until then. closes #2213

File last commit:

r2109:93b5c4cd
r8079:b1241d50
Show More
show_refs.py
19 lines | 342 B | text/x-python | PythonLexer
"""Simple script to show reference holding behavior.
This is used by a companion test case.
"""
import gc
class C(object):
def __del__(self):
pass
#print 'deleting object...' # dbg
if __name__ == '__main__':
c = C()
c_refs = gc.get_referrers(c)
ref_ids = map(id,c_refs)
print 'c referrers:',map(type,c_refs)