Since python is merely a programming language and not an authority on all of mathematics, I don't see why its choice should be given special consideration. I suppose Ginac has a broader view, but not especially as broad as Sage is supposed to have.
It is possible to come to some conclusions of what is most likely to be useful in conventional programming languages with integers and floats, e.g. 0.0^0, 0^0.0. This is important for languages in which the result of the operation MUST fit in a single word. In Sage, one has the opportunity to compute a result that is not so constrained and can be more informative. It seems to me you have choices for your values or coercions. 0 1 undefined, NaN, Interval[0,1], Or[0,1], {0,1}, zero_to_zero_power, ... 0^0 (leave it alone) trap: present issue to consumer and ask for resolution. Error exit. Consistency with the choices of the designers of python when you are dealing with data types that they never considered, does not seem compelling. RJF -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org