sympy/sympy — pull request #7919 by smichr (2014-08-26 15:28:17+00:00)
Title: do not dispatch to re/im when all factors are already known

Refactor so re and im will not have to re-calculate all that has
already been separated.