Hi Erik, On 2018-12-05, E. Madison Bray <erik.m.b...@gmail.com> wrote: >> Has that changed? I recall that in my early days in Sage (when I created the >> first version of my group cohomology package) I had to remove some __del__ >> method (or change it into a __dealloc__ method), since otherwise some >> reference cycles haven't been collected at all. > > There have been some changes in this area, but mostly focus on Python > 3: https://www.python.org/dev/peps/pep-0442/ > > I think it's still true at least on Python 2 that if an object with a > Python-level __del__ method is involved in a reference cycle, then the > cycle still has to be broken manually.
Thank you! Since Sage still uses Python 2, that issue thus is still relevant. Best regards, Simon -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.