Message77398
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. |
|
Date |
User |
Action |
Args |
2008-12-09 09:59:18 | rhettinger | set | recipients:
+ rhettinger, lemburg, brett.cannon, georg.brandl, amaury.forgeotdarc, mark.dickinson, pitrou, christian.heimes, benjamin.peterson |
2008-12-09 09:59:18 | rhettinger | set | messageid: <1228816758.56.0.395743984917.issue1717@psf.upfronthosting.co.za> |
2008-12-09 09:59:18 | rhettinger | link | issue1717 messages |
2008-12-09 09:59:17 | rhettinger | create | |
|