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

Stephen J. Turnbull stephen at xemacs.org
Wed Aug 7 06:03:52 CEST 2013


Steven D'Aprano writes:

 > Show of hands please, +1 or -1 on statistics.sum.

+0.5

I'd like to see Alexander's suggestion of special-casing numerical
sums in built-in sum considered more carefully before going with
statistics.sum as a separate function.


More information about the Python-ideas mailing list