Can I define a class which inherits from both Element and UniqueRepresentation? It doesn't seem like it:
sage: from sage.structure.element import Element sage: class A(Element, UniqueRepresentation): pass --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-2-3cd536b3d8f4> in <module>() ----> 1 class A(Element, UniqueRepresentation): pass TypeError: Error when calling the metaclass bases metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases How can I work around this? -- John -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.