[issue36604] Add recipe to itertools

2019-04-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: 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

[issue36604] Add recipe to itertools

2019-04-11 Thread SilentGhost
Change by SilentGhost : -- assignee: -> docs@python components: +Documentation -Extension Modules nosy: +docs@python, rhettinger versions: +Python 3.7, Python 3.8 ___ Python tracker

[issue36604] Add recipe to itertools

2019-04-11 Thread Bjorn Madsen
New submission from Bjorn Madsen : 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