#10927: An object's element list should be immutable
-----------------------------+----------------------------------------------
Reporter: justin | Owner: nthiery
Type: defect | Status: new
Priority: major | Milestone:
Component: categories | Keywords:
Author: Justin Walker | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
Here's the Ur example:
{{{
sage: R=Integers(5)
sage: L=R.list();L
[0, 1, 2, 3, 4]
sage: L.__delitem__(0)
sage: R.list()
[1, 2, 3, 4]
}}}
Should be a deep copy, methinks. I don't yet if there's a "one change
fixes all" fix, or whether this has to spawn a zillion fixes.
This doesn't seem to match any component, so I chose 'categories'. Feel
free to make appropriate changes.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10927>
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.