[issue7442] _localemodule.c: str2uni() with different LC_NUMERIC and LC_CTYPE
STINNER Victor
report at bugs.python.org
Tue Oct 22 17:48:48 CEST 2013
STINNER Victor added the comment:
"So it should happen somewhere in PyUnicode_DecodeLocaleAndSize(). Perhaps we can create _PyUnicode_DecodeLocaleAndSize() which would take an LC_CTYPE parameter?"
For this issue, it means that Python localeconv() will have to change the LC_CTYPE locale many time, for each monetary and each number value. I prefer your patch :-)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7442>
_______________________________________
More information about the Python-bugs-list
mailing list