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

2019-06-03 Thread Jean ABOU SAMRA
Done! https://github.com/sympy/sympy/issues/16955 > Le 3 juin 2019 à 19:39, Aaron Meurer a écrit : > > There have been bugs in the past where printers evaluate > evaluate=False expressions. It looks like there is another such bug > here. Can you

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

2019-06-03 Thread Aaron Meurer
There have been bugs in the past where printers evaluate evaluate=False expressions. It looks like there is another such bug here. Can you open an issue for this? Aaron Meurer On Mon, Jun 3, 2019 at 9:54 AM Jean ABOU SAMRA wrote: > > Hi, > > Le 2 juin 2019 à 21:40, Oscar Benjamin a écrit : > >

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

2019-06-03 Thread Jean ABOU SAMRA
Hi, > Le 2 juin 2019 à 21:40, Oscar Benjamin a écrit : > > Hi Jean, Thanks for your quick answer. > What version of SymPy are you using? > This seems to work fine on SymPy master and with the most recent version > (1.4): I'm also using 1.4. > In [1]: repr(Mul(-1, 2, 5, evaluate=False)) >

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