Updates: Status: Started Owner: --- Labels: -NeedsReview
Comment #6 on issue 1473 by fab...@fseoane.net: __mod__ does not work on reals http://code.google.com/p/sympy/issues/detail?id=1473 I reopen this because patch should be improved IMO. It makes extensive use of Number.__mod__, but there is no such method, so it will fail with an ugly AttributeError for everything that is not an instance of number: In [1]: Real(2.3) % x In [2]: Real(2.3) % pi etc... In those cases I think it should return a relational type (like the ones returned by Real(2.3) < x) -- 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-issues@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 -~----------~----~----~----~------~----~------~--~---