Are you sure that SymPy's behaviour is well-defined? In [1]: z = Symbol('z', imaginary=True)
In [2]: z.is_imaginary Out[2]: True In [3]: z.is_real Out[3]: False In [4]: limit(1/z, z, 0) Out[4]: ∞ In [5]: type(_) Out[5]: sympy.core.numbers.Infinity -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/20e274b7-fcfd-4467-b1b4-80be23c3b4de%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.