Updates:
Labels: -Milestone-Release0.7.0 Milestone-Release0.7.1
Comment #6 on issue 2406 by asmeurer: improve Tuple constructor
http://code.google.com/p/sympy/issues/detail?id=2406
I don't understand how from_iter would fix the *args problem. Are you
suggesting to change the convention from expr.__class__(*expr.args) to
expr.__class__.from_iter(expr.args)? I'm not sure if I like that.
Why not just make Tuple the equivalent of a tuple literal (1, 2, 3), and
create some function (sympy_tuple or to_Tuple; I can't think of a good name
now) that serves as the equivalent of tuple(). This wouldn't require any
major API changes.
--
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.