garbage collection - Python: find which objects are marked for deletion by gc? -


let's following output gc.get_count()

gc.get_count() (2, 1, 0) 

what want know these 3 objects gc.get_count() counting? can id? name? size etc.? (i know threshold value , 3 stage collection in python).

you can use gc.get_objects() instead.

see python garbage collector interface documentation.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -