[Python-Dev] Divorcing str and unicode (no more implicit conversions). (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Tue Oct 25 23:21:43 CEST 2005


Guido van Rossum wrote:

Yes but why? What does this invariant do for him?

I don't know about this person, but there are a few things that don't work properly in UTF-16 mode:

There might be more limitations, but those are the ones that come to mind easily. While I could imagine fixing the first two with some effort, the third one is really tricky (unless you would accept a "wide" representation of a character class even if the Unicode representation is only narrow).

Regards, Martin



More information about the Python-Dev mailing list