On 2015-05-05 11:48, Nicolas M. Thiery wrote:
Though note that doing equality up to coercion has drawbacks; in
particular since it can easily break Python's specification that two
equal objects shall have the same hash.
http://wiki.sagemath.org/EqualityCoercion
I'm sure we are already breaking that specification all over the place
when coercion is involved. So I see Python's specification as a
guideline and something nice to have, but I wouldn't refuse a coercion
just because of it.
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.