Re: [sympy] Prevent expression evaluation in repr()/latex()

2019-06-02 Thread Oscar Benjamin
Hi Jean, What version of SymPy are you using? This seems to work fine on SymPy master and with the most recent version (1.4): In [1]: repr(Mul(-1, 2, 5, evaluate=False)) Out[1]: '-2*5' -- Oscar -- You received this message because you are subscribed to the Google Groups "sympy" group. To

[sympy] Prevent expression evaluation in repr()/latex()

2019-06-02 Thread ABOU SAMRA Jean
Hello everyone, I am trying to use SymPy for a mathematical projet, where I need expressions to be evaluated step-by-step. Until now, I have always used, for example, sympify("2+2", evaluate=False) and all was fine. But now I am trying to reconstruct an expression from another object that I