Status: Accepted
Owner: smichr
Labels: Type-Defect Priority-Medium

New issue 1948 by smichr: printed list contains repr of object
http://code.google.com/p/sympy/issues/detail?id=1948

It would be nice if, when printing a list, the str representation of
objects would be used rather than their repr form:

f
[Point(Integer(10), Integer(2)), Point(Integer(15), Integer(4)),
Point(Integer(11), Integer(3)), Point(Integer(8), Integer(4))]
print f
[Point(Integer(10), Integer(2)), Point(Integer(15), Integer(4)),
Point(Integer(11), Integer(3)), Point(Integer(8), Integer(4))]
f[0]
Point(Integer(10), Integer(2))
print f[0]
Point(10, 2)

It would be nice if "print f" would give

[Point(10, 2), Point(15, 4), Point(11, 3), Point(8, 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.

Reply via email to