Status: Accepted
Owner: smichr
Labels: Type-Defect Priority-Low
New issue 1962 by smichr: pprint form of geometric objects mimics regular
python objects
http://code.google.com/p/sympy/issues/detail?id=1962
When you pprint [Point(1, 2)] (with patch 1960 in place) you get
[(1, 2)]
This looks like a regular python tuple in a list. Perhaps, as a general
principle, we should not make sympy objects look like python objects. In
the above case, perhaps double parens or a leading P would be less
cluttering than Point and yet suggestive of the fact that you aren't
looking at a tuple:
[Point(1,2), Point(3, 4)] ->
[((1, 2)), ((3, 4))] or
[P(1, 2), P(3, 4)]
--
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.