BPO | [1093](https://bugs.python.org/issue1093) --- | :--- Nosy | @gvanrossum, @loewis Files | [product_function.diff](https://bugs.python.org/file8379/product_function.diff "Uploaded as text/plain at 2007-09-03.04:27:00 by ryan.freckleton") *Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.* Show more details GitHub fields: ```python assignee = None closed_at = created_at = labels = ['tests', 'type-bug', 'library', 'docs'] title = 'product function patch' updated_at = user = 'https://bugs.python.org/ryanfreckleton' ``` bugs.python.org fields: ```python activity = actor = 'gvanrossum' assignee = 'none' closed = True closed_date = closer = 'gvanrossum' components = ['Documentation', 'Library (Lib)', 'Tests'] creation = creator = 'ryan.freckleton' dependencies = [] files = ['8379'] hgrepos = [] issue_num = 1093 keywords = [] message_count = 3.0 messages = ['55599', '55600', '55601'] nosy_count = 3.0 nosy_names = ['gvanrossum', 'loewis', 'ryan.freckleton'] pr_nums = [] priority = 'normal' resolution = 'rejected' stage = None status = 'closed' superseder = None type = 'behavior' url = 'https://bugs.python.org/issue1093' versions = ['Python 2.6'] ```
Activity
ryanfreckleton commentedon Sep 3, 2007
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.
loewis commentedon Sep 3, 2007
-1. I doubt this is needed often enough to justify a builtin function.
gvanrossum commentedon Sep 3, 2007
Thanks, but no thanks; I was quickly dissuaded from the need for this.
KavyanshKhaitan2 commentedon Dec 27, 2025
Looking at it now, would be a cool addition tbh.