On Wed, Apr 15, 2009 at 8:20 PM, Adam Atlas <adam@atlas.st> wrote:
I propose adding a "default" keyword argument to max() and min(), which provides a value to return in the event that an empty iterable is passed.


This has precedent in reduce()'s "initial" keyword argument; note that min() and max() are really simple special cases of reduce().