#12941: Cache should be cleared on cloning
----------------------------------------+-----------------------------------
Reporter: hivert | Owner: hivert
Type: defect | Status: new
Priority: major | Milestone: sage-5.1
Component: combinatorics | Resolution:
Keywords: Clone, cache, days38 | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Florent Hivert | Merged in:
Dependencies: | Stopgaps:
----------------------------------------+-----------------------------------
Comment (by sdenton):
mjo:
The idea of the cloneable array is that you make a clone, modify it, and
then at the end of that modification the array should fit the parameters
defined by the class, though it is itself a new object. The array is only
mutable during this cloning process; I think the f1[1]=100000 line should
not be allowed, if my understanding is correct.
My understanding is that there's a push to switch from using the
CombintaorialObject class to the ClonableArray class, which would make
this cloning behavior a rather common occurrence.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12941#comment:7>
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.