Issue 1206 in sympy: Integer and Rationa do not implement .args

2008-11-17 Thread codesite-noreply
Issue 1206: Integer and Rationa do not implement .args http://code.google.com/p/sympy/issues/detail?id=1206 New issue report by fabian.seoane: I think for consistency we should implement Integer.args and Rational.args. Currently they are not implemented and they do not return an exception

Issue 1206 in sympy: Integer and Rationa do not implement .args

2008-11-17 Thread codesite-noreply
Issue 1206: Integer and Rationa do not implement .args http://code.google.com/p/sympy/issues/detail?id=1206 Comment #1 by ondrej.certik: I think so too. Also I believe e.__class__(*e.args) should return the original expression: In [6]: e = x+y In [7]: e.__class__(*e.args) Out[7]: x + y