[Python-ideas] Include partitioning in itertools
Steven D'Aprano
steve at pearwood.info
Tue Nov 3 19:15:54 EST 2015
On Tue, Nov 03, 2015 at 05:58:31PM +0100, Sven R. Kunze wrote:
> Hey Lukas,
>
> I agree both version (+ the n-part-partition-version of it) might be
> very useful to have.
>
> But where do they go into?
>
> itertools might be the right place for the iter_partition; but where to
> with the set_partition?
I think the right place for both of them is your own personal Python
toolbox.
--
Steve
More information about the Python-ideas
mailing list