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 tim.golden
Recipients JJeffries, Retro, belopolsky, christian.heimes, eric.araujo, georg.brandl, ixokai, tim.golden, twouters
Date 2010-10-20.09:37:56
SpamBayes Score 7.253215e-11
Marked as misclassified No
Message-id <4CBEB84A.7050605@timgolden.me.uk>
In-reply-to <1287566328.92.0.730400244356.issue10092@psf.upfronthosting.co.za>
Content
Boštjan, the code segment you quote is the *fallback* if the
C module hasn't been built for some reason. The module simply
calls through to the underlying C Library. I notice you're
running on Windows, so this is a useful MS page:

http://msdn.microsoft.com/en-us/library/x99tb11d%28VS.71%29.aspx

and you can see there that a call of setlocale (LC_ALL, "English")
is valid (of "French" if you prefer):

Python 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500 32 bit 
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.setlocale (locale.LC_ALL, "French")
'French_France.1252'
>>>
History
Date User Action Args
2010-10-20 09:37:59tim.goldensetrecipients: + tim.golden, twouters, georg.brandl, ixokai, belopolsky, christian.heimes, eric.araujo, Retro, JJeffries
2010-10-20 09:37:57tim.goldenlinkissue10092 messages
2010-10-20 09:37:56tim.goldencreate