Updates: Status: Started Blockedon: -1047 1717 Comment #10 on issue 1723 by ronan.l...@gmail.com: .is_real == False for a real number http://code.google.com/p/sympy/issues/detail?id=1723
".is_real will be deprecated, so let's not try to fix it. Please feel free to reopen in case of disagreement." Well, I disagree. There's no telling when the new assumptions system will replace the old and it's not certain either that this will cause .is_real to be deprecated. Anyway, here's a patch without tests that gives z.is_real = None. I've run into issue 1717, so the patch includes a solution for it as well. I'm not sure how and where this should be tested (I thought of z = (-1)**Rational(1,3)*(1-I*sqrt(3)); assert z.is_real in [True, None]). Attachments: 0001-Make-Mul.is_real-and-Mul.is_imaginary-always-return-.patch 5.0 KB -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-iss...@googlegroups.com. To unsubscribe from this group, send email to sympy-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en.