Raymond Hettinger <[EMAIL PROTECTED]> added the comment: Moving cmp() somewhere other than builtins is not progress. IMO, it needs to die off and the concept of it needs to disappear completely. Code is better without it. Three-way comparisons are PITA to use -- their only virtue is as an optimization in the few cases where one three-way test is cheaper to compute than two two-way tests.
The goal for 3.0 was to have one way to do it and thereby simplify the language. Tucking it away in a module or writing a new decorator defeats the purpose. It simply should die and go away. _______________________________________ 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