Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#5471 closed defect (duplicate)

loads(dumps()) does not seem to work as wanted for Symbolic Variables

Reported by: GeorgSWeber Owned by: tbd
Priority: minor Milestone: sage-duplicate/invalid/wontfix
Component: symbolics Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

Consider the following Sage session (Sage 3.4.rc1):

sage: var('a b c')
(a, b, c)
sage: first = a + b + c
sage: first._operands[0]._operands[0]
a
sage: first._operands[0]._operands[0] is a
True
sage: second = loads(dumps(first))
sage: second._operands[0]._operands[0]
a
sage: second._operands[0]._operands[0] is a
False

The last result is unexpected, and may lead to considerable confusion. The topic was raised by "Maurizio" in the thread http://groups.google.com/group/sage-devel/browse_thread/thread/9767e3a8d538438d/9ab45b4fa1ce2e36#9ab45b4fa1ce2e36

Change History (2)

comment:1 Changed 12 years ago by GeorgSWeber

  • Resolution set to duplicate
  • Status changed from new to closed

ups, duplicate to #5466, sorry for the fuzz

comment:2 Changed 12 years ago by mabshoff

  • Milestone changed from sage-3.4.2 to sage-duplicate/invalid/wontfix
Note: See TracTickets for help on using tickets.