Comment #6 on issue 1206 by [email protected]: Integer and Rational do not implement .args
http://code.google.com/p/sympy/issues/detail?id=1206

Why would we have Integer(42)() == 42?

If you have S(42).args == () and you want S(42).func(*S(42).args) == S(42), then S(42).func(*S(42).args) == S(42).func() and ... there's a hole in my argument. OK, actually, adding the following in Atom would work:
    def func(self):
        return self




--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to