>> Ah, right. Yes, evaluating a string representation of an object does
>> *NOT* necessarily result in the same object.

Note that we have sage_input for that

sage: m1 = matrix(ZZ, 2, range(4))
sage: m2 = matrix(GF(7), 2, range(4))

sage: str(m1) == str(m2)
True

sage: sage_input(m1)
matrix(ZZ, [[0, 1], [2, 3]])
sage: sage_input(m2)
matrix(GF(7), [[0, 1], [2, 3]])

Vincent

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to