def dump_garbage():
print "\nGARBAGE:"
gc.collect()
print "\nGARBAGE OBJECTS:"
for x in gc.garbage:
print_with_type (x)
if isinstance(x, arrivals.Event):
print "REFERS:"
for y in gc.get_referrers (x):
print_with_type (y)
print "End refers"
评论列表
文章目录