I know someone explain why when I create equal unicode strings in Python 2.7 they do not point to the same location in memory As in \"normal\" strings
>&g
I think regular strings are interned but unicode strings are not. This simple test seems to support my theory (Python 2.6.6):
>>> intern("string")
'string'
>>> intern(u"unicode string")
Traceback (most recent call last):
File "", line 1, in
intern(u"unicode string")
TypeError: intern() argument 1 must be string, not unicode