Author steven.daprano
Recipients mark.dickinson, skrah, steven.daprano
Date 2012-08-03.09:06:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1343984773.98.0.439753263454.issue15544@psf.upfronthosting.co.za>
In-reply-to
Content
Attached is a patch for decimal.py, and test_decimal.py. I cannot provide a patch for the C decimal implementation, sorry.

Following Mark's suggestion, my patch keeps the sign but discards the payload for quiet NANs, and raises ValueError for signalling NANs.

(I'm ambivalent about signalling NANs raising ValueError, but I guess that's better than having snan silently converted to a quiet nan.)
History
Date User Action Args
2012-08-03 09:06:14steven.dapranosetrecipients: + steven.daprano, mark.dickinson, skrah
2012-08-03 09:06:13steven.dapranosetmessageid: <1343984773.98.0.439753263454.issue15544@psf.upfronthosting.co.za>
2012-08-03 09:06:13steven.dapranolinkissue15544 messages
2012-08-03 09:06:12steven.dapranocreate