This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author twouters
Recipients Julian, r.david.murray, rhettinger, skrah, twouters
Date 2013-06-03.11:48:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1370260091.89.0.628244267201.issue18111@psf.upfronthosting.co.za>
In-reply-to
Content
For the record, Raymond, I think you're wrong about this. Itertools isn't always a solution to every problem, and it makes for a very awkward way around a silly limitation in min() and max(). Their API is already awkward -- because they already take a keyword argument as well as *args or an iterable -- and this does not make it worse in any way. It's trivial to add this, it's trivial to explain -- return a specific value instead of raising a particular exception -- and it's wasteful, complex, fragile or unreadable (except if you have itertools on the mind, I guess) to do the same thing in another way.
History
Date User Action Args
2013-06-03 11:48:11twouterssetrecipients: + twouters, rhettinger, r.david.murray, skrah, Julian
2013-06-03 11:48:11twouterssetmessageid: <1370260091.89.0.628244267201.issue18111@psf.upfronthosting.co.za>
2013-06-03 11:48:11twouterslinkissue18111 messages
2013-06-03 11:48:11twouterscreate