News for hackers. Stuff that matters.
Re:Weird Python Integers by hxtk on Thursday August 31, 2017 @05:08PM (#15143938)
I don't think that it was a specific design decision to make '==' be a pointer comparison instead of value comparison. It's simply a consequence of the much more general design decision that operators cannot be overloaded.

`a==b` is always an analog for the C code `a==b`, not `* a==*b` and certainly not C++'s `operator==(a, b)`

There are no comments on this comment yet.