sympy/sympy — pull request #7792 by skirpichev (2014-07-27 08:52:37+00:00)
Title: Return TypeError for comparisons, if self is not a real

see #7785