Hi Eric, On 2019-05-21, Eric Gourgoulhon <egourgoul...@gmail.com> wrote: > Le lundi 20 mai 2019 07:55:30 UTC+2, Kwankyu Lee a écrit : >> >> . Moreover many sage objects currently are displayed broken if typeset. >> > > In that case, a solution could be to introduce a new class, > TypesetSageObject, say, to implement _repr_latex_() in it and to make Sage > objects that can be correctly typeset inheritate from it. > For instance, this could be done for all manifold objects and for symbolic > expressions (class Expression).
A lot of Sage objects are written in Cython. So, a potential problem of that approach would be multiple inheritance. 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 https://groups.google.com/group/sage-devel. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/qc2stk%244l8r%241%40blaine.gmane.org. For more options, visit https://groups.google.com/d/optout.