#13904: Better deletion of items of TripleDict
----------------------------------+-----------------------------------------
Reporter: SimonKing | Owner: rlm
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.6
Component: memleak | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Simon King | Merged in:
Dependencies: #13896, #12313 | Stopgaps:
----------------------------------+-----------------------------------------
Changes (by {'newvalue': u'Simon King', 'oldvalue': ''}):
* status: new => needs_review
* dependencies: #13896 => #13896, #12313
* author: => Simon King
Comment:
I think using `del` rather than calling `__delitem__` makes sense even
though the segfaults from #715 seem to be fixed by the Cython upgrade:
Apparently `del` results in shorter C code.
The new patch uses `del` both on `TripleDict` and the new `MonoDict`,
hence, it depends on #12313, where the latter was introduced.
Apply trac13904_use_del.patch
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13904#comment:26>
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.