On Saturday, November 9, 2013 10:07:50 PM UTC+1, Joachim Durchholz wrote:
> I'm a bit concerned about that MRO usage. > MRO as a concept is fundamentally broken. That brokenness doesn't matter > as long as MRO doesn't matter, i.e. as long as no multiple inheritance > is in play - > *and I think (I hope!) that SymPy does not use it.* I just checked, *Add* inherits both *Expr* and *AssocOp*, both of which on the other hand inherit *Basic*. So, unfortunately, SymPy does use multiple inheritance and presents the diamond problem, which is likely to be solved by Python's C3 algorithm. I have some ideas in my mind about a possible suggestion. In the next days I'll write again. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.
