[Python-Dev] Python and the Unicode Character Database

Antoine Pitrou solipsis at pitrou.net
Tue Nov 30 20:44:14 CET 2010


Le mardi 30 novembre 2010 à 20:40 +0100, "Martin v. Löwis" a écrit :
> Am 30.11.2010 20:23, schrieb Antoine Pitrou:
> > Le mardi 30 novembre 2010 à 20:16 +0100, "Martin v. Löwis" a écrit :
> >>> Would moving this functionality to the locale module make the issues any
> >>> easier to fix?
> >>
> >> You could delegate it to the C library, so: yes.
> > 
> > I hope you don't suggest delegating it to the C locale functions.
> > Do you?
> 
> Yes, I do. Why do you hope I don't?

Because we all know how locale is a pile of cr*p, both in specification
and in implementations. Our unit tests for it are a clear proof of that.

Actually, I remember you saying that locale should ideally be replaced
with a wrapper around the ICU library.

Regards

Antoine.




More information about the Python-Dev mailing list