Updates:
        Status: NeedsDecision

Comment #8 on issue 2865 by pr...@goodok.ru: str(Matrix(...)) should give "Matrix(...)"
http://code.google.com/p/sympy/issues/detail?id=2865

Sorry,  "srepr" instead "rstr"

srepr(Rational(1, 2)
Rational(1, 2)

srepr(Integer(1))
'Integer(1)'

It have a sense, to be sure that resulted eval() returns Integer, not int

but

m = Matrix([[1, 2], [3, 4]])
m
[1, 2]
[3, 4]
srepr(m)
'Matrix([[Integer(1), Integer(2)], [Integer(3), Integer(4)]])'

It is enough to return 'Matrix([[1, 2], [3, 4]])' as Matrix by itself will convert the arguments to sympy objects.

--
You received this message because you are subscribed to the Google Groups 
"sympy-patches" group.
To post to this group, send email to sympy-patches@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-patches+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-patches?hl=en.

Reply via email to