[issue36604] Add recipe to itertools

Bjorn Madsen report at bugs.python.org
Thu Apr 11 11:53:30 EDT 2019


New submission from Bjorn Madsen <bjorn.madsen at operationsresearchgroup.com>:

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

----------
components: Extension Modules
messages: 339984
nosy: Bjorn.Madsen
priority: normal
severity: normal
status: open
title: Add recipe to itertools
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36604>
_______________________________________


More information about the Python-bugs-list mailing list