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 wolma
Recipients gregory.p.smith, larry, ncoghlan, oscarbenjamin, steven.daprano, wolma
Date 2014-02-03.15:47:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391442479.98.0.182052262626.issue20481@psf.upfronthosting.co.za>
In-reply-to
Content
> Once the input numbers are converted to float statistics._sum can handle
> them perfectly well. In this case I think the output should also be a float so
> that it's clear that precision may have been lost. If the precision of float is not
> what the user wants then the documentation can point them toward
> Fraction/Decimal.

Ah, I'm getting it now. That is actually a very interesting thought. Still I don't think this should be part of this issue discussion, but I'll think about it and file a new enhancement issue if I have an idea.


As for providing the complete patch, I can do that I guess, but formulating the tests may take a while. I'll try to do it though, if Steven thinks it's worth it. After all he's the one who'd have to approve it and the patch does alter his design quite a bit.
History
Date User Action Args
2014-02-03 15:48:00wolmasetrecipients: + wolma, gregory.p.smith, ncoghlan, larry, steven.daprano, oscarbenjamin
2014-02-03 15:47:59wolmasetmessageid: <1391442479.98.0.182052262626.issue20481@psf.upfronthosting.co.za>
2014-02-03 15:47:59wolmalinkissue20481 messages
2014-02-03 15:47:59wolmacreate