Message 77345 - Python tracker
Instead of removing cmp(a, b) and replacing all uses with (a>b)-(b<a) I think it's better to turn cmp() into a helper that applies this operation in C rather than Python.
Instead of removing cmp(a, b) and replacing all uses with (a>b)-(b<a) I think it's better to turn cmp() into a helper that applies this operation in C rather than Python.