Re: [Python-ideas] Add a module itertools.recipes

2017-10-14 Thread Nick Coghlan
On 14 October 2017 at 16:06, Antoine Rozo wrote: > 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 usefu

Re: [Python-ideas] Add a module itertools.recipes

2017-10-13 Thread Antoine Rozo
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 available. 2017-10-13 20:35 GMT+02:00 Chris

Re: [Python-ideas] Add a module itertools.recipes

2017-10-13 Thread Lucas Wiman
On Fri, Oct 13, 2017 at 11:35 AM, Chris Angelico wrote: > On Sat, Oct 14, 2017 at 5:16 AM, Antoine Rozo > wrote: > [...] > 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 - m

Re: [Python-ideas] Add a module itertools.recipes

2017-10-13 Thread Chris Angelico
On Sat, Oct 14, 2017 at 5:16 AM, Antoine Rozo 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 c