[issue18111] Add a default argument to min & max

Raymond Hettinger report at bugs.python.org
Mon Jun 3 05:43:44 CEST 2013


Raymond Hettinger added the comment:

Thanks Stephan.  I'm going to close this one.  The case for adding it is too weak and isn't worth making the API more complex.

If someone wants a default with an iterable of arbitrary size including zero, there are already a number of ways to do it (using itertools.chain for example or just catching the exception).

----------
resolution:  -> rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18111>
_______________________________________


More information about the Python-bugs-list mailing list