Hi,

On 27 May 2011 20:33, [email protected] <[email protected]
> 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 be doing the same thing? Is repr hard do
> modify?
>

In SymPy repr() == str() == sstr(). This has to work like this due to a bug
in Python (see issue 2388 for more details).


>
> Regards
> Stefan
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/sympy?hl=en.
>

Mateusz

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to