I am mostly interested in terms of what is happening but lets say I have a custom class with __eq__ implemented and nothing else.
How do the other comparisons get resolved? What is the default behaviour? Every time I run the comparison I get a different result. I know that I need to implement these and that I can also use @total_ordering
to simplify the job.
What is actually happening behind the scenes? This is mostly out curiosity.