Status: Accepted Owner: [email protected] Labels: Type-Defect Priority-Medium Printing
New issue 2640 by [email protected]: uneccessary nesting of exponent http://code.google.com/p/sympy/issues/detail?id=2640 Rational does not need to be wrapped in parentheses when it is an exponent: >>> x**Rational(1,2) sqrt(x) >>> python(sqrt(x)**3) "x = Symbol('x')\ne = x**(Rational(3, 2))" >>> python(x**y) "x = Symbol('x')\ny = Symbol('y')\ne = x**y" This is a code generation issue. -- 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.
