sympy/sympy — pull request #7923 by smichr (2014-08-26 17:48:43+00:00)
Title: add some numerical handling to Pow imaginary/real handlers

When the argument of the base of a power is a rational number, detecting real or imaginary values is possible. This processing was added to Pow._eval_is_imaginary and Pow._eval_is_real.