News for hackers. Stuff that matters.
Re:Why does `True == False is False` evaluate to False in Py... by xen0 on Saturday May 02, 2020 @09:08AM (#23051552)
CPython keeps an array for "small value" integers (I think in the range [-5, 256]). So when Python wants 256, it'll give you a reference to the existing object. Larger numbers require a brand new object.

There are no comments on this comment yet.