[issue5948] setlocale regression

Jeroen Ruigrok van der Werven report at bugs.python.org
Wed May 6 16:19:43 CEST 2009


Jeroen Ruigrok van der Werven <asmodai at in-nomine.org> added the comment:

I can verify this on Vista.

2.5 gives:

>>> from locale import setlocale, LC_ALL
>>> setlocale(LC_ALL, "fr")
'French_France.1252'

Whereas 2.6 fails.

There is no difference between 2.5's and 2.6's PyLocale_setlocale() from
what I can see in Modules/_localemodule.c.
Also Lib/locale.py's setlocale() in both versions is identical from what
I can see.

----------
nosy: +asmodai

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5948>
_______________________________________


More information about the Python-bugs-list mailing list