Module Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias alias ImportFrom alias ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Slice decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Delete NameDel Delete NameDel Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareGtE AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareGt AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareGt AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Delete NameDel Delete NameDel Delete NameDel Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Num Assign TupleStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Call NameLoad NameLoad NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Call NameLoad NameLoad NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Call NameLoad NameLoad NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Call NameLoad NameLoad NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Call NameLoad NameLoad NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Delete NameDel Delete NameDel Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareGt AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Delete NameDel Delete NameDel Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Call NameLoad NameLoad NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Call NameLoad NameLoad NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Call NameLoad NameLoad NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Call NameLoad NameLoad NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Delete NameDel Delete NameDel Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Call NameLoad NameLoad NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Call NameLoad NameLoad NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Call NameLoad NameLoad NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Call NameLoad NameLoad NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Delete NameDel Delete NameDel Assign NameStore Call NameLoad keyword Num Assign NameStore ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad If CompareLt AttributeLoad NameLoad attr TupleLoad Num Num body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Delete NameDel Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr decorator_list Expr Call NameLoad Delete NameDel Assign NameStore Call NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad handlers ExceptHandler type NameLoad body Pass orelse Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad If UnaryOpNot Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad attr body Expr Call AttributeLoad NameLoad attr Num
N/A N/A gc N/A inspect N/A os N/A sys N/A unittest pympler.garbagegraph GarbageGraph start_debug_garbage end_debug_garbage pympler.refgraph _Edge Foo N/A N/A __init__ N/A N/A self N/A N/A N/A N/A self foo foo N/A N/A Bar N/A Foo N/A __init__ N/A N/A self N/A N/A N/A N/A N/A Foo __init__ self N/A N/A self bar bar N/A N/A FooNew N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self foo foo N/A N/A BarNew N/A FooNew N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super BarNew self __init__ N/A N/A Enemy N/A object N/A __del__ N/A N/A self N/A N/A N/A N/A N/A GarbageTestCase N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A start_debug_garbage N/A N/A N/A gc set_debug N/A gc DEBUG_SAVEALL N/A tearDown N/A N/A self N/A N/A N/A N/A end_debug_garbage N/A N/A N/A gc garbage N/A N/A test_empty N/A N/A self N/A N/A N/A Test empty garbage graph.
         N/A gb N/A GarbageGraph N/A N/A N/A self assertEqual N/A gb count 0 N/A N/A N/A self assertEqual N/A N/A gb render garbage.eps False N/A test_findgarbage N/A N/A self N/A N/A N/A Test garbage annotation.
         N/A foo N/A Foo N/A bar N/A Bar N/A idfoo N/A id foo N/A idbar N/A id bar N/A N/A foo next bar N/A N/A bar prev foo N/A foo N/A bar N/A gb N/A GarbageGraph N/A N/A N/A self assertEqual N/A gb count N/A len N/A gc garbage N/A N/A N/A self assert_ N/A N/A gb count 2 N/A gb count N/A gfoo N/A x N/A x N/A gb metadata N/A N/A x id idfoo N/A N/A N/A self assertEqual N/A len gfoo 1 N/A gfoo N/A gfoo N/A 0 N/A N/A N/A self assertEqual N/A gfoo type Foo N/A N/A N/A self assert_ N/A N/A gfoo size 0 N/A gfoo size N/A N/A N/A self assertNotEqual N/A gfoo str N/A gbar N/A x N/A x N/A gb metadata N/A N/A x id idbar N/A N/A N/A self assertEqual N/A len gbar 1 N/A gbar N/A gbar N/A 0 N/A N/A N/A self assertEqual N/A gbar type Bar N/A N/A N/A self assert_ N/A N/A gbar size 0 N/A gbar size N/A N/A N/A self assertNotEqual N/A gbar str N/A test_split N/A N/A self N/A N/A N/A Test splitting into subgraphs.
         N/A foo N/A Foo N/A bar N/A Bar N/A idfoo N/A id foo N/A idbar N/A id bar N/A idfd N/A id N/A foo __dict__ N/A idbd N/A id N/A bar __dict__ N/A N/A foo next bar N/A N/A bar prev foo N/A l N/A N/A N/A N/A l append l N/A idl N/A id l N/A foo N/A bar N/A l N/A gb N/A GarbageGraph N/A subs N/A N/A gb split_and_sort N/A N/A N/A self assertEqual N/A len subs 2 N/A N/A N/A self assertEqual N/A N/A subs N/A 0 count 4 N/A N/A N/A self assertEqual N/A N/A subs N/A 1 count 1 N/A N/A fbg lig subs N/A N/A N/A self assert_ N/A isinstance fbg GarbageGraph N/A N/A N/A self assert_ N/A isinstance lig GarbageGraph N/A N/A N/A self assertEqual N/A len N/A fbg edges 4 N/A fbg edges N/A N/A N/A self assertEqual N/A len N/A lig edges 1 N/A lig edges N/A N/A N/A self assert_ N/A N/A _Edge idl idl N/A lig edges N/A lig edges N/A N/A N/A self assert_ N/A N/A _Edge idfoo idfd __dict__ N/A fbg edges N/A fbg edges N/A N/A N/A self assert_ N/A N/A _Edge idfd idbar next N/A fbg edges N/A fbg edges N/A N/A N/A self assert_ N/A N/A _Edge idbar idbd __dict__ N/A fbg edges N/A fbg edges N/A N/A N/A self assert_ N/A N/A _Edge idbd idfoo prev N/A fbg edges N/A fbg edges N/A test_prune N/A N/A self N/A N/A N/A Test pruning of reference graph.
         N/A foo N/A Foo N/A bar N/A Bar N/A N/A foo parent foo N/A N/A foo leaf bar N/A idb N/A id bar N/A foo N/A bar N/A gb1 N/A GarbageGraph N/A gb2 N/A GarbageGraph reduce True N/A N/A N/A self assertEqual N/A gb1 count N/A gb2 count N/A N/A N/A self assertTrue N/A N/A gb1 count N/A gb2 num_in_cycles N/A N/A N/A self assertEqual N/A gb2 num_in_cycles 2 N/A gbar N/A x N/A x N/A gb1 metadata N/A N/A x id idb N/A N/A N/A self assertEqual N/A len gbar 1 N/A gbar N/A x N/A x N/A gb2 metadata N/A N/A x id idb N/A N/A N/A self assertEqual N/A len gbar 0 N/A test_edges_old N/A N/A self N/A N/A N/A Test referent identification for old-style classes.
         N/A foo N/A Foo N/A bar N/A Bar N/A idfoo N/A id foo N/A idfd N/A id N/A foo __dict__ N/A idbar N/A id bar N/A idbd N/A id N/A bar __dict__ N/A N/A foo next bar N/A N/A bar prev foo N/A foo N/A bar N/A gb N/A GarbageGraph N/A N/A N/A self assert_ N/A N/A _Edge idfoo idfd __dict__ N/A gb edges N/A gb edges N/A N/A N/A self assert_ N/A N/A _Edge idfd idbar next N/A gb edges N/A gb edges N/A N/A N/A self assert_ N/A N/A _Edge idbar idbd __dict__ N/A gb edges N/A gb edges N/A N/A N/A self assert_ N/A N/A _Edge idbd idfoo prev N/A gb edges N/A gb edges N/A test_edges_new N/A N/A self N/A N/A N/A Test referent identification for new-style classes.
         N/A foo N/A FooNew N/A bar N/A BarNew N/A idfoo N/A id foo N/A idfd N/A id N/A foo __dict__ N/A idbar N/A id bar N/A idbd N/A id N/A bar __dict__ N/A N/A foo next bar N/A N/A bar prev foo N/A foo N/A bar N/A gb N/A GarbageGraph N/A N/A N/A self assert_ N/A N/A _Edge idfoo idfd __dict__ N/A gb edges N/A gb edges N/A N/A N/A self assert_ N/A N/A _Edge idfd idbar next N/A gb edges N/A gb edges N/A N/A N/A self assert_ N/A N/A _Edge idbar idbd __dict__ N/A gb edges N/A gb edges N/A N/A N/A self assert_ N/A N/A _Edge idbd idfoo prev N/A gb edges N/A gb edges N/A test_uncollectable N/A N/A self N/A N/A N/A Test uncollectable object tracking.

        This is fixed in Python 3.4 (PEP 442).
         N/A foo N/A Foo N/A N/A foo parent foo N/A enemy N/A Enemy N/A N/A enemy parent enemy N/A idfoo N/A id foo N/A idenemy N/A id enemy N/A foo N/A enemy N/A gb N/A GarbageGraph collectable 0 N/A gfoo N/A x N/A x N/A gb metadata N/A N/A x id idfoo N/A N/A N/A self assertEqual N/A len gfoo 0 N/A genemy N/A x N/A x N/A gb metadata N/A N/A x id idenemy N/A N/A N/A sys version_info N/A 3 4 N/A N/A N/A N/A self assertEqual N/A len genemy 1 N/A N/A N/A self assertEqual N/A N/A gb reduce_to_cycles None N/A test_write_graph N/A N/A self N/A N/A N/A Test writing graph as text.
         N/A foo N/A Foo N/A N/A foo parent foo N/A foo N/A g N/A GarbageGraph N/A N/A N/A g write_graph garbage.dot N/A N/A N/A os unlink garbage.dot N/A test_render N/A N/A self N/A N/A N/A Test rendering of graph.
         N/A foo N/A Foo N/A N/A foo parent foo N/A N/A foo constructor N/A foo __init__ leak_frame N/A N/A N/A N/A N/A frame N/A N/A inspect currentframe N/A N/A N/A leak_frame N/A foo N/A g N/A GarbageGraph N/A N/A N/A N/A N/A g render garbage.eps N/A N/A N/A g render garbage.eps unflatten True N/A N/A N/A OSError N/A N/A N/A N/A N/A N/A os unlink garbage.eps N/A N/A N/A N/A __name__ __main__ N/A N/A suite N/A N/A unittest TestSuite N/A tclasses N/A GarbageTestCase N/A tclass tclasses N/A N/A names N/A N/A unittest getTestCaseNames tclass test_ N/A N/A N/A suite addTests N/A map tclass names N/A N/A N/A N/A N/A N/A N/A N/A unittest TextTestRunner run suite wasSuccessful N/A N/A N/A N/A sys exit 1