On 2015-08-12 19:14, Volker Braun wrote:
"==" isn't used in any group theory textbook to my knowledge... Of course group-equality should be a method, all I'm saying is that naming it __eq__() really badly interacts with associative containers.
To be clear, this isn't about comparing groups, but about comparing elements of the same(?) group. Most certainly, textbooks use == (with this, I really mean $=$) to compare elements of a group. It's like comparing 6/3 with 4/2, you really want those to be equal.
For comparing groups, I agree that __eq__ should compare construction/presentation and not be an isomorphism test.
Jeroen. -- 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.