Status: Accepted Owner: ---- Labels: Type-Defect Priority-Medium EasyToFix
New issue 1935 by basti.kr: Sum doesn't rebuild itself http://code.google.com/p/sympy/issues/detail?id=1935 In [8]: expr = Sum(x**k, (k,1,5), (x,0,9)) In [9]: expr.func(*expr.args) --------------------------------------------------------------------------- ValueError Traceback (most recent call last) /home/sebastian/<ipython console> in <module>() /usr/lib/python2.6/site-packages/sympy/concrete/summations.pyc in __new__(cls, f, *symbols, **assumptions) 46 continue 47 ---> 48 raise ValueError("Invalid summation variable or limits") 49 50 obj = Expr.__new__(cls, **assumptions) ValueError: Invalid summation variable or limits In [10]: expr.func(expr.args[0], *expr.args[1]) Out[10]: Sum(x**k, (k, 1, 5), (x, 0, 9)) -- 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.