Ticket #6622 (closed defect: fixed)
[with patch, positive review] substitution of a dict into a symbolic expression modifies the dict
| Reported by: | was | Owned by: | burcin |
|---|---|---|---|
| Priority: | major | Milestone: | sage-4.1.1 |
| Component: | calculus | Keywords: | |
| Cc: | Author(s): | Bill Cauchois | |
| Report Upstream: | Reviewer(s): | Burcin Erocal | |
| Merged in: | Sage 4.1.1.rc1 | Work issues: |
Description (last modified by mvngu) (diff)
sage: var('v t')
sage: f = v*t
sage: D = {v: 2}
sage: f(D, t=3)
6
sage: D
{v: 2, t: 3}
After the call above, D should *not* be changed. This issue was raised at this sage-support thread.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

