Comparing types that don't make sense provides a boolean result and not an Exception.
When comparing the tuple (0,) and integer 100, no Exception is raised.
I've tried comparing explicit type conversion, str casting, or repr output to produce the same comparison result, but nothing matches what is evaluated from the raw expression.
>>> (0,) > 100
True
>>> str((0,)) > str(100)
False
>>> repr((0,)) > repr(100)
False
>>> int((0,)) > int(100)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: int() argument must be a string or a number, not 'tuple'
Python should be throwing an error when trying to compare these two different objects, or there should be some implicit conversion before the compare that produces the given output.