[issue35606] Add prod() function to the math module

Antoine Pitrou report at bugs.python.org
Fri Jan 4 17:08:25 EST 2019


Antoine Pitrou <pitrou at free.fr> added the comment:

I agree with Mark that correctness, rather than performance, should be the main attraction of a stdlib implementation.

By the way "prod" is slightly obscure (though it's Numpy's chosen spelling), how about "product"?  After all, we went with the full "factorial".

----------
nosy: +pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35606>
_______________________________________


More information about the Python-bugs-list mailing list