Hi Jeroen, On 2018-03-12, Jeroen Demeyer <j.deme...@ugent.be> wrote: > This is just the usual Py_DECREF of Python objects, it has nothing to do > with the cyclic garbage collector: the behaviour remains the same even > with gc.disable(). > > This makes me think that we might need a version of CachedRepresentation > which keeps semi-strong references: these would only be deleted by the > cyclic garbage collector but not by a simple Py_DECREF().
Would that remotely be possible without massive changes to Python infrastructure? 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 email@example.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.