On Wed, Dec 9, 2020 at 7:54 PM <aurelien.lambert...@gmail.com> wrote:
> I agree that itertools shouldn't be a collection of vaguely useful > functions. I proposed that one because I have needed this one many times, Could you give an actual use case? I haven't been able to imagine one. -CHB > often used str.join instead which comes at a greater cost than iterating > pieces of string. > > I didn't know about more-itertools library (which already has an > interleave function that does something different), I guess it makes more > sense there. > _______________________________________________ > Python-ideas mailing list -- python-ideas@python.org > To unsubscribe send an email to python-ideas-le...@python.org > https://mail.python.org/mailman3/lists/python-ideas.python.org/ > Message archived at > https://mail.python.org/archives/list/python-ideas@python.org/message/OADW4ZGK5EWXDMRQXIVAEN5B7WVJ3WGJ/ > Code of Conduct: http://python.org/psf/codeofconduct/ > -- Christopher Barker, PhD Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Development - wxPython, numpy, scipy, Cython
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/UPPK4SKWRR2UVTJS4HKKE5Q6EKX4JUX4/ Code of Conduct: http://python.org/psf/codeofconduct/