#12357: Make groupoids garbage collectable
------------------------------------------------+---------------------------
Reporter: SimonKing | Owner: rlm
Type: defect | Status:
positive_review
Priority: major | Milestone:
sage-duplicate/invalid/wontfix
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:
------------------------------------------------+---------------------------
Changes (by SimonKing):
* status: needs_work => positive_review
* milestone: sage-pending => sage-duplicate/invalid/wontfix
Comment:
Indeed. With just #12215 and #12313 on top of sage-5.6.rc0, one obtains:
{{{
sage: P = Parent()
sage: m = id(P)
sage: n = id(Groupoid(P))
sage: import gc
sage: m in map(id, gc.get_objects())
True
sage: n in map(id, gc.get_objects())
True
sage: del P
sage: _ = gc.collect()
sage: m in map(id, gc.get_objects())
False
sage: n in map(id, gc.get_objects())
False
}}}
Hence, I suggest to resolve this as a duplicate. Jean-Pierre, please
change if you disagree.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12357#comment:28>
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.