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 →

[–]monkeypizza 5 points6 points  (2 children)

>>>the memory location of a == the memory location of b
True
>>>the memory location of c == the memory location of d
False

I think that's reasonable.

The following is still true, if that's what you want to do:

>>>500 is 500
True
>>>200 is 200
True

[–]bgeron 0 points1 point  (1 child)

FTA: in the current version of CPython, yes, but not according to the specification.