#9556: Dynamic attributes for symbolic expressions
--------------------------------------------------------------+-------------
Reporter: SimonKing | Owner:
Type: enhancement | Status:
closed
Priority: major | Milestone:
sage-5.11
Component: symbolics | Resolution:
fixed
Keywords: symbolic expression dynamic attribute sd48 | Work issues:
Report Upstream: N/A | Reviewers:
Volker Braun
Authors: Burcin Erocal, Simon King, Mike Hansen | Merged in:
sage-5.11.beta3
Dependencies: | Stopgaps:
--------------------------------------------------------------+-------------
Comment (by vbraun):
As discussed with Burcin, patch needs to move to a different ticket.
Also, unpacking goes too far and doesn't let me preserve SR objects. This
leads to funny behavior for constant functions etc::
{{{
sage: o = (SR(1), x)
sage: map(type, o)
[sage.symbolic.expression.Expression, sage.symbolic.expression.Expression]
sage: o = SR._force_pyobject(o)._unpack_operands()
sage: map(type, o)
[sage.rings.integer.Integer, sage.symbolic.expression.Expression]
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9556#comment:15>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.