Eryk Sun added the comment:
Interning of strings is an implementation detail for the efficient storage of
variable and attribute names. A string with ':' in it cannot be a variable or
attribute name and thus is not interned. But you don't need to know which
strings are interned or why they're
New submission from MinJae Kwon:
I found bug i think about string comparison
> var1 = 'aa'
> var1 is 'aa' # This is True
But if the string literal has special chacter (e.g., colon), the comparison
results in False
> var2 = ':bb'
> var2 is ':bb' # This is False
Check it please.
--
co