#5471: loads(dumps()) does not seem to work as wanted for Symbolic Variables
-------------------------+--------------------------------------------------
Reporter: GeorgSWeber | Owner: tbd
Type: defect | Status: new
Priority: minor | Milestone: sage-3.4.2
Component: symbolics | Keywords:
-------------------------+--------------------------------------------------
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
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5471>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---