This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients Boris.FELD, PiotrSikora, georg.brandl, ixokai, lemburg, pitrou, ronaldoussoren, ruseel
Date 2011-04-26.10:18:54
SpamBayes Score 1.05471e-14
Marked as misclassified No
Message-id <>
In-reply-to <>
Piotr Sikora wrote:
> Piotr Sikora <> added the comment:
> It's the same on OpenBSD (and I'm pretty sure it's true for other BSDs as well).
>>>> locale.resetlocale()
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/local/lib/python2.6/", line 523, in resetlocale
>     _setlocale(category, _build_localename(getdefaultlocale()))
> locale.Error: unsupported locale setting
>>>> locale._build_localename(locale.getdefaultlocale())
> 'en_US.UTF8'
> Works fine with Marc-Andre's alias table fix.
> Any chances this will be eventually fixed in 2.x?

This can go into Python 2.7, and, of course, into the 3.x
Date User Action Args
2011-04-26 10:18:55lemburgsetrecipients: + lemburg, georg.brandl, ixokai, ronaldoussoren, pitrou, ruseel, Boris.FELD, PiotrSikora
2011-04-26 10:18:54lemburglinkissue10154 messages
2011-04-26 10:18:54lemburgcreate