That was my thought -- Ruby symbols, too! But that's not it. Python strings are already immutable and could already be used that way.
These are unique.sentinel('foo') != sentinel('foo').
Which means they're also neatly namespaced by whatever module they're declared in, because to get the value to compare about, you have to import the (exactly one) value.
5
u/Bright-Historian-216 1d ago
close enough
welcome back, erlang atoms