Seems like itertools recipes already have "all_equal" function. What do you
think about moving it from recipes to itertools? I suggest a C
implementation with optimisations for builtin collections.

2016-10-06 18:42 GMT+03:00 Chris Angelico <ros...@gmail.com>:

> On Fri, Oct 7, 2016 at 2:23 AM, Steven D'Aprano <st...@pearwood.info>
> wrote:
> > +0.3 to adding it the standard library.
> >
> > +0.1 to adding it to built-ins
> >
> > -0.1 on adding it to built-ins under the name "equal", as that will
> > confuse too many people.
>
> I'll go further: -0.5 on adding to built-ins. +0.5 on adding it to
> itertools or the itertools recipes.
>
> ChrisA
> _______________________________________________
> Python-ideas mailing list
> Python-ideas@python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to