Reference cycles

Steve D'Aprano steve+python at pearwood.info
Sun Sep 24 11:11:57 EDT 2017


Is there a way to log when the garbage collector finds and collects a reference
cycle?

I don't care about objects claimed by the reference counter, I only care about
cycles.


-- 
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.




More information about the Python-list mailing list