Message87341
Did you build python from source? Or did you download official binary
distribution? If latter, Python2.5 was built with VC7, and Python2.6 is
built with VC9. Probably difference of behavior comes from difference of
version of msvcrt.
I ran following codes from my python2.6 built from source with VC6, and
I succeeded to set locale.
Python 2.6.2c1 (release26-maint, Apr 11 2009, 07:01:50) [MSC v.1200 32
bit (Inte
l)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.setlocale(4, "ja")
'Japanese_Japan.932'
>>> locale.setlocale(4, "fr")
'French_France.1252' |
|
Date |
User |
Action |
Args |
2009-05-06 16:54:57 | ocean-city | set | recipients:
+ ocean-city, loewis, asmodai, Kerfred |
2009-05-06 16:54:56 | ocean-city | set | messageid: <1241628896.89.0.247707304137.issue5948@psf.upfronthosting.co.za> |
2009-05-06 16:54:55 | ocean-city | link | issue5948 messages |
2009-05-06 16:54:55 | ocean-city | create | |
|