#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:  
                                                                 
--------------------------------------------------------------+-------------
Changes (by SimonKing):

  * owner:  rlm =>


Comment:

 What exactly is the problem?

 It is
 {{{
             sage: S = SymmetricFunctions(ZZ)
             sage: S.inject_shorthands()
             doctest:...: RuntimeWarning: redefining global value `e`
             doctest:...: RuntimeWarning: redefining global value `m`
             sage: s[1] + e[2] * p[1,1] + 2*h[3] + m[2,1]
             s[1] - 2*s[1, 1, 1] + s[1, 1, 1, 1] + s[2, 1] + 2*s[2, 1, 1] +
 s[2, 2] + 2*s[3] + s[3, 1]
 }}}
 The last line fails with an error when doctesting, but works fine when
 doing the same in an interactive session.

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