tag:blogger.com,1999:blog-8550962.post4773526616313344381..comments2024-01-27T21:10:48.750-08:00Comments on PyDev adventures: Creating safe cyclic reference destructors (without requiring __del__)Fabio Zadroznyhttp://www.blogger.com/profile/04202246218394712738noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-8550962.post-76389306261959248792015-06-21T18:53:27.652-07:002015-06-21T18:53:27.652-07:00Hi,
Thanks for the nice article. I totally agree ...Hi, <br />Thanks for the nice article. I totally agree regarding __del__! However, rather than using the weakref.ref() second parameter for a callback, I believe what you should really be doing in your example is calling weakref.finalize() to create a finalize object associated with the object. <br />Bye for now,<br />-John GarbuioAnonymousnoreply@blogger.com