#12357: Make groupoids garbage collectable
------------------------------------------------+---------------------------
       Reporter:  SimonKing                     |         Owner:  rlm           
   
           Type:  defect                        |        Status:  needs_work    
   
       Priority:  major                         |     Milestone:  sage-pending  
   
      Component:  memleak                       |    Resolution:                
   
       Keywords:  groupoid cache Cernay2012     |   Work issues:                
   
Report Upstream:  N/A                           |     Reviewers:  Jean-Pierre 
Flori
        Authors:  Simon King                    |     Merged in:                
   
   Dependencies:  #715, #11521, #12313, #11943  |      Stopgaps:                
   
------------------------------------------------+---------------------------

Comment (by SimonKing):

 Apart from changing the test, I'd like to change something more. Namely,
 it is stated that `UniqueRepresentation` is using cached_function - but
 that is wrong by #12215, which is a dependency of this ticket.

 The main idea of storing the groupoid of P as an attribute of P is to
 avoid creating an external strong reference on the groupoid. But that
 would not be the case, when using a weak_cached_function for caching.

 Hence, it could actually be that #12215 already fixes what is attempted
 here! I'll test that.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12357#comment:27>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to