<div class="gmail_quote">On Wed, Nov 30, 2011 at 10:22 AM, Masklinn <span dir="ltr"><<a href="mailto:masklinn@masklinn.net">masklinn@masklinn.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">On 2011-11-30, at 19:15 , Guido van Rossum wrote:<br>
>> In the first case this becomes illegal<br>
>> max(1,2,3,4,5)<br>
>><br>
><br>
> Which I presume is rarely needed but if necessary can easily be written as<br>
> max((1, 2, 3, 4, 5)).<br>
</div>The *args form is rather nice for the (pretty common I'd think) task of min/maxing a pair of values, one know (default) and one unknown for instance.<br>
<br>
It is also a common interface for min/max functions.</blockquote></div><br>Of course. IMO the status quo is optimal -- max(a, b) is very useful. Not so for any(a, b) though.<br clear="all"><br>-- <br>--Guido van Rossum (<a href="http://python.org/~guido">python.org/~guido</a>)<br>