classification
Title: product function patch
Type: behavior Stage:
Components: Documentation, Library (Lib), Tests Versions: Python 2.6
process
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 2007-09-03 05:58 by gvanrossum. This issue is now closed.

Files
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.
History
Date User Action Args
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