[Python-ideas] Add a module itertools.recipes

Chris Angelico rosuav at gmail.com
Fri Oct 13 14:35:08 EDT 2017


On Sat, Oct 14, 2017 at 5:16 AM, Antoine Rozo <antoine.rozo at gmail.com> wrote:
> Hello,
>
> A very useful part of the itertools module's documentation is the section
> "Recipes", giving utility functions that use itertools iterators.
> But when you want to use one of theese functions, you have to copy it in
> your source code (or use external PyPI modules like iterutils).
>
> Can we consider making itertools a package and adding a module
> itertools.recipes that implements all these utilility functions?

Check out more-itertools on PyPI - maybe that's what you want?

ChrisA


More information about the Python-ideas mailing list