On Friday, May 14, 2021 at 8:05:27 AM UTC-5 smi...@gmail.com wrote:
>   the str() representation should be something that can be copy-pasted

I like the ability to cut-and-paste the output of a `print()`.  However, 
delving into the standards for Python suggests that `repr()` should return 
an expression that can be passed to `eval()`, but `str()` is meant to be 
human readable and may or may not work with `eval()`.  Within Sympy I do 
not see a problem, but  worry that Sympy may be depending on 
`str()===repr()` in libraries it uses. Does anybody have some insight into 
this?

Jonathan

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/cd09943a-bb8b-47a8-bf86-81958272bcc5n%40googlegroups.com.

Reply via email to