Frédéric Chapoton wrote: > richcmp, when not knowing what to do, should most probably return > NotImplemented
In the case of Element.__richcmp__: not when both operands are Elements, IMO, but perhaps indeed when the other one is a non-Element. > I do not think we should whitelist comparison with strings. That was just an example of a temporary kludge that could make things simpler :-) > What do the mostly-trivial 40 test failures look like ? I didn't keep the list, sorry. Quite a few duplicates from all the translations of the part of the tutorial that explains comparisons with coercions. Probably a lot of mixed-type lists to be sorted and the like. And a few that might actually have been bugs, but I didn't look closely. -- Marc Mezzarobba -- 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 https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.