`==` compares values by calling the object's `__eq__` method, while `is` compares identity — whether two references point to the exact same object in memory (equivalent to comparing `id()`). Two distinct objects can be equal (`==` True) but not identical (`is` False). Use `is` only for singletons like `None`, `True`, and `False`.
== asks "are these values equal?" and is asks "are these the same object?".
a = [1, 2, 3]
b = [1, 2, 3]
print(a == b) # True — same contents
print(a is b) # False — different objects
c = a
print(c is a) # True — same object
x = None
print(x is None) # correct idiom for None checks
CPython caches small integers (-5 to 256) and some short strings (interning), so 256 is 256 may be True while 257 is 257 may be False. Never rely on this — it is an implementation detail, not a language guarantee.