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 Kerfred
Recipients Kerfred
Date 2009-05-06.13:22:54
SpamBayes Score 7.6370194e-10
Marked as misclassified No
Message-id <1241616175.88.0.154367194542.issue5948@psf.upfronthosting.co.za>
In-reply-to
Content
There is a regression bug between Python 2.5 and Python 2.6.

With Python 2.5, the following code works:
import locale
locale.setlocale(locale.LC_ALL, 'fr')

Whereas with Python 2.6, I get this message:
Traceback (most recent call last):
  File "<interactive input>", line 1, in <module>
  File "C:\Python26\Lib\locale.py", line 513, in setlocale
    return _setlocale(category, locale)
Error: unsupported locale setting

I am using Python 2.6.2 on Windows XP 32 bits.

Regards,
Fred
--
History
Date User Action Args
2009-05-06 13:22:55Kerfredsetrecipients: + Kerfred
2009-05-06 13:22:55Kerfredsetmessageid: <1241616175.88.0.154367194542.issue5948@psf.upfronthosting.co.za>
2009-05-06 13:22:54Kerfredlinkissue5948 messages
2009-05-06 13:22:54Kerfredcreate