<p dir="ltr">The name might be a little confusing; it can be understood as comparing two sequences, so passing two sequences may seem reasonable to a reviewer.</p>
<p dir="ltr">Elazar</p>
<br><div class="gmail_quote"><div dir="ltr">בתאריך יום ה׳, 6 באוק' 2016, 20:15, מאת Filipp Bakanov <<a href="mailto:filipp@bakanov.su">filipp@bakanov.su</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">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.</div><div dir="ltr" class="gmail_msg"><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">2016-10-06 18:42 GMT+03:00 Chris Angelico <span dir="ltr" class="gmail_msg"><<a href="mailto:rosuav@gmail.com" class="gmail_msg" target="_blank">rosuav@gmail.com</a>></span>:<br class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="gmail_msg">On Fri, Oct 7, 2016 at 2:23 AM, Steven D'Aprano <<a href="mailto:steve@pearwood.info" class="gmail_msg" target="_blank">steve@pearwood.info</a>> wrote:<br class="gmail_msg">
> +0.3 to adding it the standard library.<br class="gmail_msg">
><br class="gmail_msg">
> +0.1 to adding it to built-ins<br class="gmail_msg">
><br class="gmail_msg">
> -0.1 on adding it to built-ins under the name "equal", as that will<br class="gmail_msg">
> confuse too many people.<br class="gmail_msg">
<br class="gmail_msg">
</span>I'll go further: -0.5 on adding to built-ins. +0.5 on adding it to<br class="gmail_msg">
itertools or the itertools recipes.<br class="gmail_msg">
<br class="gmail_msg">
ChrisA<br class="gmail_msg">
<div class="m_2023016803559116111HOEnZb gmail_msg"><div class="m_2023016803559116111h5 gmail_msg">_______________________________________________<br class="gmail_msg">
Python-ideas mailing list<br class="gmail_msg">
<a href="mailto:Python-ideas@python.org" class="gmail_msg" target="_blank">Python-ideas@python.org</a><br class="gmail_msg">
<a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" class="gmail_msg" target="_blank">https://mail.python.org/mailman/listinfo/python-ideas</a><br class="gmail_msg">
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" class="gmail_msg" target="_blank">http://python.org/psf/codeofconduct/</a><br class="gmail_msg">
</div></div></blockquote></div><br class="gmail_msg"></div></div>
_______________________________________________<br class="gmail_msg">
Python-ideas mailing list<br class="gmail_msg">
<a href="mailto:Python-ideas@python.org" class="gmail_msg" target="_blank">Python-ideas@python.org</a><br class="gmail_msg">
<a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" class="gmail_msg" target="_blank">https://mail.python.org/mailman/listinfo/python-ideas</a><br class="gmail_msg">
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" class="gmail_msg" target="_blank">http://python.org/psf/codeofconduct/</a></blockquote></div>