On 14 Mai, 18:31, Ronan Lamy <ronan.l...@gmail.com> wrote: > _op_priority was designed to help with implementing arithmetic > operations, particularly for things that aren't "calculus expressions" > yet have meaningful __add__, __mul__, __pow__, etc. such as vectors and > operators of various kinds. But it turns out that it doesn't really help > (http://groups.google.com/group/sympy/browse_thread/thread/810e127bc41...) > and it isn't used anywhere currently. > > It also has fundamental flaws that prevent it from ever evolving into a > complete solution to the problem: it assumes that the priority order is > the same for all operations and turns this order into a total order, > introducing couplings between objects that would otherwise have no > knowledge of each other. > > So, I think that there's little benefit in including into 0.7.0, but it > would have the significant drawback of committing us to support this > feature for who knows how long, and therefore of making much more > difficult to refactor this critical mechanism. And if _op_priority does > turn out to be useful, it can easily be added back in after the release > by reverting the removal.
If it is not used, I think we can remove it. Vinzent -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.