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 -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -