Message111233
On mac 10.5, python 2.6.4 (via mac ports) performing
len(string.letters) will produce 117 instead of 52.
from terminal:
along-mb:~ along$ locale
LANG="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL=
This appears to be related to:
locale.setlocale(locale.LC_CTYPE) not being respected.
len(string.letters) should produce 52. |
|
Date |
User |
Action |
Args |
2010-07-23 02:38:31 | antlong | set | recipients:
+ antlong, ronaldoussoren |
2010-07-23 02:38:31 | antlong | set | messageid: <1279852711.38.0.0249345603825.issue9335@psf.upfronthosting.co.za> |
2010-07-23 02:38:29 | antlong | link | issue9335 messages |
2010-07-23 02:38:28 | antlong | create | |
|