> IMHO the real bug is that == is group-comparison instead of
> presentation-comparison.

I take it as a design choice in that class. I opened this thread
because no standard on earth defines that two equal elements must have
the same __repr__, and that this is what the current implementation
assumes.

Unless you think there is a justification for that, I persist in
believing that this __hash__ function is dangerous.

Nathann

-- 
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.

Reply via email to