Comment #8 on issue 2388 by [email protected]: The value of str(expr)
depends on a global setting
http://code.google.com/p/sympy/issues/detail?id=2388
It calls srepr() because of a bug in Python. If you change Basic.__repr__
to call sstr() then you will get:
In [1]: str([1/x, 1/y])
Out[1]: [Pow(Symbol('x'), Integer(-1)), Pow(Symbol('y'), Integer(-1))]
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" 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-issues?hl=en.