Author tim.peters
Recipients Jáchym Barvínek, tim.peters
Date 2016-10-25.15:18:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1477408721.3.0.556885224637.issue28529@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2016-10-25 15:18:41tim.peterssetrecipients: + tim.peters, Jáchym Barvínek
2016-10-25 15:18:41tim.peterssetmessageid: <1477408721.3.0.556885224637.issue28529@psf.upfronthosting.co.za>
2016-10-25 15:18:41tim.peterslinkissue28529 messages
2016-10-25 15:18:41tim.peterscreate