sympy/sympy — pull request #1161 by smichr (2012-03-21 22:14:04+00:00)
Title: correct as_real_imag and don't allow symbol with zero=True

3162: Pow.as_real_imag() doesn't return (foo, 0)
3134: no symbol can have zero as assumption; return S.Zero