This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients Devin Jeanpierre, cvrebert, ezio.melotti, facundobatista, josh.r, mark.dickinson, rhettinger, skrah
Date 2015-01-09.08:18:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1420791525.38.0.648435711552.issue23201@psf.upfronthosting.co.za>
In-reply-to
Content
> This behavior seems to be required by the General Decimal Arithmetic
Specification (http://speleotrove.com/decimal/daexcep.html )

Yes, exactly.  The decimal module strictly follows that specification.  I don't like the 0**0 -> NaN result much either (especially when we also have inf**0 -> 1), but it's what's specified.  I've talked to Mike Cowlishaw (the author of the specification) about this particular issue, and the spec is not likely to change on this point.
History
Date User Action Args
2015-01-09 08:18:45mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, facundobatista, Devin Jeanpierre, ezio.melotti, cvrebert, skrah, josh.r
2015-01-09 08:18:45mark.dickinsonsetmessageid: <1420791525.38.0.648435711552.issue23201@psf.upfronthosting.co.za>
2015-01-09 08:18:45mark.dickinsonlinkissue23201 messages
2015-01-09 08:18:44mark.dickinsoncreate