On Nov 8, 9:20 pm, Robert Bradshaw <rober...@math.washington.edu> wrote:
> However, I agree with the sentiment that V.sum(W) grossly violates the > principle of least surprise as well as being of dubious merit over the > builtin sum(...). And note that python's builtin sum is in sage shadowed by sum=sage.misc.functional.symbolic_sum which does: if hasattr(expression, 'sum'): return expression.sum(*args, **kwds) elif len(args) <= 1: return sum(expression, *args) else: ... so the builtin sum only gets called in second place. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.