Author rhettinger
Recipients aleax, mark.dickinson, rhettinger, tim.peters
Date 2018-12-28.19:29:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1546025352.75.0.868813504694.issue35606@roundup.psfhosted.org>
In-reply-to
Content
Back in 2007, a user suggested a built-in prod() function with an API similar to the built-in sum() function.  The proposal was rejected because it wasn't needed often enough to justify a builtin function.  See https://bugs.python.org/issue1093

Though prod() doesn't meet the threshold for a builtin, it would be reasonable to add this to the math module (or an imath module).

Personally, I've wanted and written this function on several occasions (for applications such as multiplying probabilities).  On stack overflow, it has been a popular question with recurring interest.  See https://stackoverflow.com/questions/7948291/ and https://stackoverflow.com/questions/595374
History
Date User Action Args
2018-12-28 19:29:14rhettingersetrecipients: + rhettinger, tim.peters, aleax, mark.dickinson
2018-12-28 19:29:12rhettingersetmessageid: <1546025352.75.0.868813504694.issue35606@roundup.psfhosted.org>
2018-12-28 19:29:12rhettingerlinkissue35606 messages
2018-12-28 19:29:12rhettingercreate