3 ms·
> Actually, you can in Python... No, you can only get random access on codepoints which will break text as soon as combining characters are involved. Even if y
by masklinn 13y ago
> Actually, you can in Python...
No, you can only get random access on codepoints which will break text as soon as combining characters are involved. Even if you normalize everything beforehand (which most people don't do) as not all possible combinations have precomposed forms.
Unicode makes random access useless at anything other than destroying text.
> but a good stdlib would obviously help immensely in this regard
Which is extremely rare, and which Python does not have.