[issue9335] LC_CTYPE system setting not respected by setlocale()

Alexander Belopolsky report at bugs.python.org
Mon Jul 26 02:20:56 CEST 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

On Sun, Jul 25, 2010 at 7:27 PM, STINNER Victor <report at bugs.python.org> wrote:
..
> Unicode is my cup of tee, but not programs considering that bytes are characters.
>

What I called "your cup of tee" was 3.x returning 'UTF-8' from
locale.nl_langinfo(locale.CODESET) where 2.x returned 'US-ASCII'.  (In
both cases this was the first call to locale module functions.)

> I don't understand why Alexander gets different results on Python 2.6 and Python 2.7.
>

It looks like you have missed most of the discussion under this issue.
 Sorry that you had to reinvestigate.  Ronald explained the difference
in msg111332.  He introduced a workaround for broken OSX C library
isalpha in r80178.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9335>
_______________________________________


More information about the Python-bugs-list mailing list