Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Low Sets
New issue 3166 by [email protected]: Interval and FiniteSet printing
http://code.google.com/p/sympy/issues/detail?id=3166
Currently
str(Interval(0,1)) produces "[0, 1]"
and
str(FiniteSet(1,2,3)) produces "{1, 2, 3}"
This violates the str(object) is valid code to create object principle.
If we change this then code for Interval looks quite ugly. We will end up
printing things like "Interval(0, 1, True, False)" to the screen.
--
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.