New submission from Anthony Long <antl...@gmail.com>: 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. ---------- assignee: ronaldoussoren components: Macintosh messages: 111233 nosy: antlong, ronaldoussoren priority: normal severity: normal status: open title: LC_CTYPE system setting not respected by setlocale() versions: Python 2.5, Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9335> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com