Hi Jeroen, On 2015-03-04, Jeroen Demeyer <jdeme...@cage.ugent.be> wrote: > In #17890, I want to rename _cmp_c_impl to _cmp_ and make it cpdef (like > the other arithmetic functions such as _add_). Then I also would like to > reverse the convention and make _cmp_ take priority over __cmp__.
"Priority" in the sense of "if you want to implement comparison for elements, then implement "_cmp_" rather than "__cmp__"? Surely you do not mean that Sage will call _cmp_ even when the programmer mistakenly wrote "__cmp__", overriding what is inherited from the base classes in sage.structure.elements? Best regards, Simon -- 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.