Hi Eric, On 2015-02-22, Eric Gourgoulhon <egourgoul...@gmail.com> wrote: > Note that the function is_Integer used in sage.structure.coerce.pyx is=20 > *not* the above one: it is defined in lines 134-139 and it returns True for= > is_Integer(int(0)).=20
Seriously? But when the integer zero is treated in a special way, then why did "sum(...)" not work in the original post, while "sum(..., P.zero())" did? Best regards, Simon -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.