What does gc.get_objects() return?

MRAB python at mrabarnett.plus.com
Wed Mar 12 16:02:07 EDT 2014


On 2014-03-12 19:34, Jurko Gospodnetić wrote:
>     Hi all.
>
>     I was wondering if someone could explain gc.get_objects() in a bit
> more detail to me.
>
>     Does it return a list of 'all objects known to Python'? Only some of
> them? Which does it return? Which it does not?
>
[snip]

gc.is_tracked(...) might be relevant to your question.




More information about the Python-list mailing list