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 antlong
Recipients antlong, ronaldoussoren
Date 2010-07-23.02:38:28
SpamBayes Score 0.10141561
Marked as misclassified No
Message-id <1279852711.38.0.0249345603825.issue9335@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-07-23 02:38:31antlongsetrecipients: + antlong, ronaldoussoren
2010-07-23 02:38:31antlongsetmessageid: <1279852711.38.0.0249345603825.issue9335@psf.upfronthosting.co.za>
2010-07-23 02:38:29antlonglinkissue9335 messages
2010-07-23 02:38:28antlongcreate