assert (object() < object()) == False
(try running this in the interpreter a few times)
The example given is equivalent in badness to:
g = Timer() assert g.startTimer() == 0
For generic objects, the __lt__ and __gt__ methods are simply defined the only way that's sensible, which is effectively as a pointer location comparison.
assert (object() < object()) == False
(try running this in the interpreter a few times)