Steven D'Aprano added the comment: 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? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18606> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com