Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: On 2008-12-09 16:06, Antoine Pitrou wrote: > Antoine Pitrou <[EMAIL PROTECTED]> added the comment: > >> The idea was to have one implementation of the work-around (a>b) - (b<a) >> instead of 10 or so instances of this snippet in the Python stdlib >> and probably a few hundred places in other code. > > But what use-case does it solve, except for making legacy code easier to > port to Py3k?
It implements the DRY principle. _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1717> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com