This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: product function patch
Type: behavior Stage:
Components: Documentation, Library (Lib), Tests Versions: Python 2.6
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: gvanrossum, loewis, ryan.freckleton
Priority: normal Keywords:

Created on 2007-09-03 04:27 by ryan.freckleton, last changed 2022-04-11 14:56 by admin. This issue is now closed.

File name Uploaded Description Edit
product_function.diff ryan.freckleton, 2007-09-03 04:27
Messages (3)
msg55599 - (view) Author: Ryan Freckleton (ryan.freckleton) Date: 2007-09-03 04:26
This is a patch to implement a product() builtin function. It works
behaves similarly to reduce(operator.mul,...) but is implemented in C.

Tests and documentation are included in this patch.
msg55600 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2007-09-03 05:22
-1. I doubt this is needed often enough to justify a builtin function.
msg55601 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2007-09-03 05:58
Thanks, but no thanks; I was quickly dissuaded from the need for this.
Date User Action Args
2022-04-11 14:56:26adminsetgithub: 45434
2007-09-03 05:58:10gvanrossumsetstatus: open -> closed
nosy: + gvanrossum
resolution: rejected
messages: + msg55601
2007-09-03 05:22:24loewissetnosy: + loewis
messages: + msg55600
2007-09-03 04:27:01ryan.freckletoncreate