Author r.david.murray
Recipients Julian, r.david.murray, twouters
Date 2013-06-02.03:27:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I don't think there's any other way to get a ValueError out of min/max, but I haven't actually looked at the code to check.  Of course, if we want people to rely on that, we'd need to document it.

'next's default is used to return a sentinel when the list is exhausted, not when it would otherwise raise a ValueError.  It is a somewhat related case, but is not exactly parallel.  The sentinel for next indicates the end of an ongoing process.  The proposed argument to min/max would *replace* an error with a sentinel value.
Date User Action Args
2013-06-02 03:27:30r.david.murraysetrecipients: + r.david.murray, twouters, Julian
2013-06-02 03:27:30r.david.murraysetmessageid: <>
2013-06-02 03:27:30r.david.murraylinkissue18111 messages
2013-06-02 03:27:30r.david.murraycreate