Tim Peters added the comment:

This won't be changed - it's a near-universally mandated behavior across 
relevant standards.  Many years ago it wasn't, but Knuth changed minds when he 
wrote:

"""
We must define x^0=1 for all x, if the binomial theorem is to be valid when x=0 
, y=0 , and/or x=-y . The theorem is too important to be arbitrarily restricted!
"""

More here:

https://www.quora.com/Why-does-Python-return-1-for-pow-0-0-which-is-mathematically-wrong

----------
nosy: +tim.peters
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
type:  -> behavior

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28529>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to