On Thu, 7 May 2020 at 01:07, Christopher Barker <python...@gmail.com> wrote: > 3) Add a ternary mode flag to zip > zip(*iters, mode = ('shortest' | 'equal' | 'longest'), fillvalue=None)
You missed itertools.zip_longest(*iters, fillvalue=None) from this one. Unless you're proposing to drop itertools.zip_longest, the fact that there's now two ways to do zip_longest seems like an important wart to point out for this proposal. For me: +0.1 on a new function in itertools +0 on no change -1 on the remainder Paul _______________________________________________ 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/4JTJQHJICFWNUDM5P4JLDAE7JFTAZDYF/ Code of Conduct: http://python.org/psf/codeofconduct/