Author steven.daprano
Recipients agthorr, belopolsky, christian.heimes, ethan.furman, gregory.p.smith, mark.dickinson, oscarbenjamin, pitrou, ronaldoussoren, sjt, steven.daprano, stutzbach, terry.reedy, tshepang, vajrasky
Date 2013-08-22.02:43:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <52157AB8.6000308@pearwood.info>
In-reply-to <1377002608.43.0.244520856137.issue18606@psf.upfronthosting.co.za>
Content
On 20/08/13 22:43, Mark Dickinson wrote:

> I agree with Oscar about sum for decimal.Decimal.  The *ideal* sum for Decimal instances would return the correctly rounded result (i.e., the exact result, rounded to the current context just once using the current rounding mode).  It seems wrong to give a guarantee of behaviour that's in conflict with this ideal.

Okay, I know when I'm beaten :-)

Documentation will no longer make reference to "honouring the context", as currently stated, and specific example shown will be dropped. Patch to follow. Changing the actual implementation of sum will follow later. If Oscar is willing, I'd like to discuss some of his ideas off-list, but that may take some time.

What else is needed before I can ask for a decision on the PEP?
History
Date User Action Args
2013-08-22 02:43:11steven.dapranosetrecipients: + steven.daprano, terry.reedy, gregory.p.smith, ronaldoussoren, mark.dickinson, belopolsky, pitrou, agthorr, christian.heimes, stutzbach, sjt, ethan.furman, tshepang, oscarbenjamin, vajrasky
2013-08-22 02:43:11steven.dapranolinkissue18606 messages
2013-08-22 02:43:11steven.dapranocreate