[sympy] repr and srepr

2011-05-27 Thread krastanov.ste...@gmail.com
I know (or I think I know) that eval(srepr(thing)) == thing in sympy. Should this be also true for repr (the python build-in)? Why are there two different functions that should be doing the same thing? Is repr hard do modify? Regards Stefan -- You received this message because you are subscribe

Re: [sympy] repr and srepr

2011-05-27 Thread Mateusz Paprocki
Hi, On 27 May 2011 20:33, krastanov.ste...@gmail.com wrote: > I know (or I think I know) that eval(srepr(thing)) == thing in sympy. > Yes, that should hold (otherwise it's a bug). > > Should this be also true for repr (the python build-in)? Why are there two > different functions that should

Re: [sympy] repr and srepr

2011-05-27 Thread Ronan Lamy
Le vendredi 27 mai 2011 à 20:39 +0200, Mateusz Paprocki a écrit : > Hi, > > On 27 May 2011 20:33, krastanov.ste...@gmail.com > wrote: > I know (or I think I know) that eval(srepr(thing)) == thing in > sympy. > > > Yes, that should hold (otherwise it's a bug). > > >