[sympy] Integer(1).args == ( , )

2012-03-11 Thread krastanov.ste...@gmail.com
In [80]: Integer(1) Out[80]: 1 In [81]: _.args Out[81]: () Is this normal? I expected type(expr)(*expr.args) == expr to be always true. -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To un

Re: [sympy] Integer(1).args == ( , )

2012-03-11 Thread Aaron Meurer
See http://code.google.com/p/sympy/issues/detail?id=1206. Aaron Meurer On Sun, Mar 11, 2012 at 1:03 PM, krastanov.ste...@gmail.com wrote: > In [80]: Integer(1) > Out[80]: 1 > > In [81]: _.args > Out[81]: () > > Is this normal? I expected type(expr)(*expr.args) == expr to be always true. > > -- >