Indeed, the Python 3 Unicode string object is fascinatingly clever. Code worth reading:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;python&#x2F;cpython&#x2F;blob&#x2F;master&#x2F;Objects&#x2F;unicodeobject.c" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;python&#x2F;cpython&#x2F;blob&#x2F;master&#x2F;Objects&#x2F;unicod...</a>