[issue7442] _localemodule.c: str2uni() with different LC_NUMERIC and LC_CTYPE

Stefan Krah report at bugs.python.org
Tue Oct 22 14:00:34 CEST 2013


Stefan Krah added the comment:

Matej Cepl <report at bugs.python.org> wrote:
> To #200912: now, system locale is UTF-8 all the way:
> santiago:python3 (el6) $ locale
> LANG=en_US.utf8
> LC_CTYPE="en_US.utf8"
> LC_NUMERIC=en_IE.utf8
> LC_TIME=en_IE.utf8
> LC_COLLATE="en_US.utf8"
> LC_MONETARY=en_IE.utf8
> LC_MESSAGES="en_US.utf8"
> LC_PAPER=en_IE.utf8
> LC_NAME="en_US.utf8"
> LC_ADDRESS="en_US.utf8"
> LC_TELEPHONE="en_US.utf8"
> LC_MEASUREMENT=en_IE.utf8
> LC_IDENTIFICATION="en_US.utf8"
> LC_ALL=
> santiago:python3 (el6) $

The test passes here with these values (Debian).

What is the output of:

  a) locale.localeconv()

  b) locale.setlocale(locale.LC_ALL, '')
     locale.localeconv()

----------

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


More information about the Python-bugs-list mailing list