Comment by guappa

1 day ago

How does this relate to the claim of the parent comment that cyclic structures are never freed in python (which is false, btw)?

When I replied, the only thing the comment said was “yeah no.” I was agreeing that __del__ is fraught with peril.

Reading: cyclic GC, yes, the section I linked explicitly discusses that problem, and how it’s solved.