Michael Foord <[EMAIL PROTECTED]> writes: > The full list of changes proposed […] and not shot down was > something like: […]
> assertLessThan > assertGreaterThan > assertLessThanOrEquals > assertGreaterThanOrEquals […] "Brett Cannon" <[EMAIL PROTECTED]> writes: > Is any of this really necessary? Isn't this the equivalent of > ``assert_(a < b)``? It seems like the only thing you get out of this > is a nicer error message, but ``assert_(a < b, 'not %r <= %s' % (a, > b))`` is not that complex. And do these cases really come up that > often? I would want to see some numbers showing that these are > really necessary (in both usage and people even specifying an error > message in the first place). Though I'm the champion of this PEP, I'll have to refer to Michael Foord for his reasoning (or reference to others' reasoning) on this. -- \ “The process by which banks create money is so simple that the | `\ mind is repelled.” —John Kenneth Galbraith, _Money: Whence It | _o__) Came, Where It Went_, 1975 | Ben Finney _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com