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.

classification
Title: Add recipe to itertools
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.8, Python 3.7
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Bjorn.Madsen, docs@python, rhettinger
Priority: normal Keywords:

Created on 2019-04-11 15:53 by Bjorn.Madsen, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg339984 - (view) Author: Bjorn Madsen (Bjorn.Madsen) Date: 2019-04-11 15:53
I would like to add a recipe to the itertools documentation (if it belongs there?)

The recipe presents a method to generate set(powerset([iterable])) in a fraction of the runtime. I thought others might find this method helpful and pushed it to github under MIT license.

The recipe is available with test here: https://github.com/root-11/python_recipes
msg340006 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2019-04-12 05:04
Thank you for the suggestion and the nice work.

I'm going to decline adding this to our docs because it isn't in the spirit of the other recipes (reasonably common task, reasonably simple, and/or showing off effective combinations of the other itertools).

Though the docs aren't the right place for this, it would be nice if you published a blog post or some such to show off your work, detail the though processes, and illustrate how you measured performance).  Another option is to submit this to the more-itertools project.
History
Date User Action Args
2022-04-11 14:59:13adminsetgithub: 80785
2019-04-12 05:04:24rhettingersetstatus: open -> closed
resolution: rejected
messages: + msg340006

stage: resolved
2019-04-11 15:57:05SilentGhostsetnosy: + rhettinger, docs@python

assignee: docs@python
components: + Documentation, - Extension Modules
versions: + Python 3.7, Python 3.8
2019-04-11 15:53:30Bjorn.Madsencreate