Hi! At #13991, we try to fix a speed regression that comes from the fact that Partitions(n) is not a unique parent, combined with #12313 making the caching of homsets depend on identity (not equality) of domain resp. codomain.
While trying to use UniqueRepresentation on Partitions_n and related classes, I found the following: sage: class C(UniqueRepresentation, CombinatorialClass): pass ....: sage: C.__cmp__.__module__ 'sage.combinat.combinat' sage: C.__eq__.__module__ 'sage.structure.unique_representation' sage: C.__hash__.__module__ 'sage.structure.unique_representation' Isn't that a total mess? Is there a reason why UniqueRepresentation provides __eq__ and __hash__, but not __cmp__? Cheers, Simon -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
