Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

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)?

2 comments

guappa

Reply

sgarland  1 day ago

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.

baq  1 day ago

this is not what I claim, BTW.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities