[issue27439] product function patch

2016-07-02 Thread Steven D'Aprano
Steven D'Aprano added the comment: On Sat, Jul 02, 2016 at 11:40:48AM +, Utkan Gezer wrote: > > New submission from Utkan Gezer: > > An issue of enhancement by the introduction of a built-in product() > function for the multiplication operation, functions similar to how > sum does for the

[issue27439] product function patch

2016-07-02 Thread Utkan Gezer
Utkan Gezer added the comment: The use case is similar to the use case of sum() function, which is analogous to the sigma notation in mathematics, and is analogous to the use case of the pi notation in mathematics. Regular loop should be equally enough to achieve the function of sum(), yet the

[issue27439] product function patch

2016-07-02 Thread Emanuel Barry
Emanuel Barry added the comment: What is the use case, and why is a regular for loop not enough? The bar for adding new builtin functions is high, and I don't think this meets it. -- nosy: +ebarry ___ Python tracker

[issue27439] product function patch

2016-07-02 Thread Utkan Gezer
New submission from Utkan Gezer: An issue of enhancement by the introduction of a built-in product() function for the multiplication operation, functions similar to how sum does for the addition operation. This issue is a reincarnation of Issue 1093 for Python 2.6, now for 3.6. Ref: http://bu