[Python-ideas] Add 'interleave' function to itertools?

Serhiy Storchaka storchaka at gmail.com
Thu Aug 8 09:09:43 CEST 2013


08.08.13 07:01, Stefan Behnel написав(ла):
> MRAB, 07.08.2013 22:12:
>> And are these functions worthy of inclusion in itertools? :-)
>
> The fact that they are a short construction of the existing tools indicates
> that they are better suited for the recipes section than the itertools
> functions section of the module docs. There is already a roundrobin() recipe.

I think this reason is applicable to the first_true()/coalesce() 
function (issue18652).




More information about the Python-ideas mailing list