#715: Parents probably not reclaimed due to too much caching
--------------------------------+-------------------------------------------
   Reporter:  robertwb          |          Owner:  somebody           
       Type:  defect            |         Status:  needs_work         
   Priority:  major             |      Milestone:  sage-4.8           
  Component:  coercion          |       Keywords:  weak cache coercion
Work_issues:  avoid regression  |       Upstream:  N/A                
   Reviewer:                    |         Author:  Simon King         
     Merged:                    |   Dependencies:  #9138, #11900      
--------------------------------+-------------------------------------------

Comment(by SimonKing):

 Replying to [comment:74 SimonKing]:
 >  1. Find out why apparently not all actions are registered in the parent
 (because then we would have a strong reference as long as at least the
 domain is alive).

 That's why:
 {{{
 sage: search_src("register_action")
 structure/parent.pyx:1698:            self.register_action(action)
 structure/parent.pyx:1791:    cpdef register_action(self, action):
 structure/parent.pyx:1841:            sage: R.register_action(act)
 structure/parent.pxd:29:    cpdef register_action(self, action)
 }}}

 So, simply register action isn't used at all - which makes me think why
 some actions ''are'' stored in the parent.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/715#comment:76>
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