skirpichev/sympy — pull request #1 by smichr (2013-03-02 03:38:17+00:00)
Title: delay im(a) calculation

The change in variables threw me off. I see what you are doing. How about the following patch to what you've done?