[Python-3000] String comparison

"Martin v. Löwis" martin at v.loewis.de
Wed Jun 6 20:26:01 CEST 2007


Guido van Rossum schrieb:
> Clearly we will have a normalization routine so the
> lexer can normalize identifiers, so if you need normalized data it is
> as simple as writing 'XXX'.normalize() (or whatever the spelling
> should be).

It's actually in Python already, and spelled as
unicodedata.normalize("NFC", 'XXX')

Regards,
Martin


More information about the Python-3000 mailing list