[Python-ideas] statistics.sum [was Re: Pre-PEP: adding a statistics module to Python]

Cameron Simpson cs at zip.com.au
Tue Aug 6 02:41:22 CEST 2013


On 06Aug2013 06:04, Steven D'Aprano <steve at pearwood.info> wrote:
| Show of hands please, +1 or -1 on statistics.sum.

For me: +1 on statistics.sum, and +0.8 for calling it "sum" instead
of the painfully cumbersome "precise_sum".

Regarding the latter, it is only going to end up in code as "sum"
if someone imports it; concerned coders can always "import sum as
precise_sum" or the like.

And since I've not said it, I'm +1 on the statistics module itself too.

Cheers,
-- 
Cameron Simpson <cs at zip.com.au>


More information about the Python-ideas mailing list