sympy/csympy — pull request #236 by certik (2014-07-04 20:28:46+00:00)
Title: Don't rewrite (x^a)^b, unless b is Integer

The formula (x^a)^b = x^(a*b) only holds if b is an integer.