[Python-ideas] Add a module itertools.recipes

Antoine Rozo antoine.rozo at gmail.com
Sat Oct 14 02:06:54 EDT 2017

I am not searching for an external library (as I pointed, there are some on
PyPI like iterutils or more-itertools).
My point was that recipes are documented in itertools module, but not
implemented in standard library, and it would be useful to have them

2017-10-13 20:35 GMT+02:00 Chris Angelico <rosuav at gmail.com>:

> 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
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/

Antoine Rozo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20171014/a6ae49cd/attachment.html>

More information about the Python-ideas mailing list