Doug Hellmann added the comment:

+1 on adding this

I found today via @dabeaz's cookbook that iter() has a sentinel-detection use 
case. Having one in min/max seems *far* more obviously useful. It's also 
consistent with quite a few methods on builtin types where we provide a way to 
deal with unknown data safely by having a default instead of catching 
exceptions directly.

----------
nosy: +doughellmann

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18111>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to