Comment #5 on issue 2406 by [email protected]: improve Tuple constructor
http://code.google.com/p/sympy/issues/detail?id=2406
Another point I just noticed is that sympify(tuple()) -> tuple(), not a
Tuple. So this is happening (in my branch):
Tuple((1, x), 3).subs(x, 0)
...
AttributeError: 'tuple' object has no attribute '_eval_subs'
I think sympify should return a Tuple if it is to fulfill the promise of
always returning a "type that can be used inside sympy". It probably will
affect many other places, though.
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" 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/sympy-issues?hl=en.