Author eyadams
Recipients Dennis Sweeney, docs@python, eyadams, mark.dickinson, steven.daprano
Date 2021-06-21.15:38:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1624289887.3.0.0629117564043.issue44344@roundup.psfhosted.org>
In-reply-to
Content
I still think the most important aspect of this is that pow() will return complex numbers, contrary to what is implied by the statement I quoted at the beginning of this thread. 

Perhaps we should just borrow from the documentation for the power operator, which says:

Raising 0.0 to a negative power results in a ZeroDivisionError. Raising a negative number to a fractional power results in a complex number. (In earlier versions it raised a ValueError.)

https://docs.python.org/3/reference/expressions.html#the-power-operator
History
Date User Action Args
2021-06-21 15:38:07eyadamssetrecipients: + eyadams, mark.dickinson, steven.daprano, docs@python, Dennis Sweeney
2021-06-21 15:38:07eyadamssetmessageid: <1624289887.3.0.0629117564043.issue44344@roundup.psfhosted.org>
2021-06-21 15:38:07eyadamslinkissue44344 messages
2021-06-21 15:38:07eyadamscreate