#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):
How unfortunate. If I remove the custom (strongly cached) `__classcall__`
of symmetric function algebras, I get
{{{
The following tests failed:
sage -t -force_lib "devel/sage/sage/combinat/sf/macdonald.py"
sage -t -force_lib "devel/sage/sage/combinat/sf/llt.py"
sage -t -force_lib "devel/sage/sage/combinat/sf/jack.py"
sage -t -force_lib "devel/sage/sage/combinat/sf/kschur.py"
sage -t -force_lib
"devel/sage/sage/combinat/sf/hall_littlewood.py"
sage -t -force_lib "devel/sage/sage/combinat/sf/classical.py"
sage -t -force_lib "devel/sage/sage/combinat/sf/sfa.py"
sage -t -force_lib "devel/sage/sage/combinat/sf/elementary.py"
sage -t -force_lib
"devel/sage/sage/combinat/sf/multiplicative.py"
sage -t -force_lib "devel/sage/sage/combinat/sf/schur.py"
sage -t -force_lib "devel/sage/sage/combinat/sf/homogeneous.py"
sage -t -force_lib "devel/sage/sage/combinat/species/library.py"
sage -t -force_lib
"devel/sage/sage/combinat/combinatorial_algebra.py"
}}}
But if one has a custom strong cache for symmetric function algebras, then
one has the single failure in
{{{
sage -t -force_lib "devel/sage/sage/combinat/sf/sf.py"
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12215#comment:87>
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.