Check out the Garbage Collector interface, gc.
http://docs.python.org/2/library/gc.html
You can inspect the objects are being tracked with gc.get_objects()
"As a general rule, instances of atomic types aren’t tracked and instances of non-atomic types (containers, user-defined objects...) are."
There is also gc.garbage, which finds objects that can't be freed but are unreachable.