#12215: Memleak in UniqueRepresentation, @cached_method
--------------------------------------------------------------+-------------
       Reporter:  vbraun                                      |         Owner:  
                                                                 
           Type:  defect                                      |        Status:  
needs_work                                                       
       Priority:  major                                       |     Milestone:  
sage-5.0                                                         
      Component:  memleak                                     |    Resolution:  
                                                                 
       Keywords:  UniqueRepresentation cached_method caching  |   Work issues:  
Keep the fix from #12313. Coercion in symmetric function algebras
Report Upstream:  N/A                                         |     Reviewers:  
                                                                 
        Authors:  Simon King                                  |     Merged in:  
                                                                 
   Dependencies:  #11115 #11900 #12645 #11599                 |      Stopgaps:  
                                                                 
--------------------------------------------------------------+-------------

Comment (by SimonKing):

 The failure is really strange. If one does
 {{{
 sage: S = SymmetricFunctions(ZZ)
 sage: S.inject_shorthands()
 sage: e.has_coerce_map_from(m)
 }}}
 on the command line, then one gets the answer "True". Doing the same in a
 ''separate'' doctest, one still gets "True". But doing the same in line
 384 of sage.combinat.sf.sf.py, one gets "False". So, there seems to be a
 nasty diffcult-to-debug side effect, which apparently was introduced by
 the second patch.

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