On Sun, 17 May 2020 at 07:10, Christopher Barker <python...@gmail.com> wrote:
>
> > PS. Why wasn't a new builtin zip_strict() on the menu? I think I would have 
> > given it at least +0.5, because of this rule of thumb.
>
> I would think that if zip_strict() added as a builtin, then zip_longest() 
> should too.
>
> And the fact that zip_longest was not added as a builtin made me think that 
> it was a non-starter.

I think that's just because zip_longest isn't a very compelling
alternative to zip. I've known of it for a long time and I don't
remember *ever* using it.

If builtins had zip_shortest (i.e. current zip), zip_strict and
zip_longest then I think I would use zip_strict 95% of the time,
zip_shortest 5% of the time and zip_longest 0% of the time.

--
Oscar
_______________________________________________
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/AIP52CKLKOPUOZAOSBFO2SWKJZGKYLHE/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to