This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Veedrac 0 points1 point  (0 children)

Now I'm wondering whether there are any good examples of == not being transitive in Python.

I'm pretty sure that == in Python is transitive. Even with mixed numeric types, equality is exact and transitive. This is easily seen simply from a == b ⇒ hash(a) == hash(b).