16 Apr
2009
16 Apr
'09
2:25 a.m.
2009/4/15 George Sakkis
I think it would be counter-intuitive and error-prone if min(iterable, default=0) was different from min(*iterable, default=0),
It is definitely different if iterable == [[7]]. Since min(*iterable) will break if iterable has length 1, it should not be called this way at all. Values should be passed to min as individual arguments only if their number is statically known, and in this case there is no reason to use 'default'. -- Marcin Kowalczyk qrczak@knm.org.pl http://qrnik.knm.org.pl/~qrczak/