STINNER Victor <victor.stin...@gmail.com> added the comment:

The technical issue here is that the libc has no "stateless" function to 
process bytes and text with one specific locale. All functions rely on the 
*current* locales. To decode byte strings, we use mbstowcs(), and this function 
relies on the current LC_CTYPE locale, whereas decimal_point and thousands_sep 
should be decoded from the current LC_NUMERIC locale.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31900>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to