Hi Jeroen, On 2018-12-05, Jeroen Demeyer <j.deme...@ugent.be> wrote: > On 2018-12-05 14:54, Simon King wrote: >> o Mild problem: If there is an external strong reference to, say, >> f, then it is possible that Q becomes garbage collected anyway, >> and we would end up with an invalid map. > > That is one of the things that I would like to fix: maps and actions > should have strong references to their (co)domains. On the other hand, > the coercions and actions should be sufficiently weakly referenced to > prevent memory leaks but not too weakly referenced to keep them alive > when needed. This will rely on #26811.
Then what will be your reference graph? Or phrased differently: Where/how will you store coercion maps? That isn't indicated on the ticket. 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.