Undeterministic strxfrm?

Peter Otten __peter__ at web.de
Tue Sep 4 23:06:51 CEST 2007

Am Tue, 04 Sep 2007 19:54:57 +0000 schrieb Tuomas:

> I get the same unstability with my locale 'fi_FI.utf8' too, so I am 
> wondering if the source of the problem is the clib or the Python wrapper 
> around it. Differences in strxfrm results for identical source are 
> allways in the few latest bytes of the results.

Python seems to be the culprit as there is a relatively recent
strxfrm-related bugfix, see


If I understand it correctly the error makes it likely that the resulting
string has trailing garbage characters.


More information about the Python-list mailing list