News for hackers. Stuff that matters.
Re:Weird Python Integers by rurban on Saturday August 26, 2017 @09:19AM (#15105290)
But nobody would use eq in lisp for this. For numbers you would use equal, comparing the values. You only would use eq for addresses, like cons cells or vectors. E.g. in php there is == vs ===.

re python: this is of course superlame. the compiler can easily detect "is <int>" and forbid the const int table optimization. Only "is None" would make sense.

There are no comments on this comment yet.