[issue42156] Currency not correct for all locales
Eric V. Smith
report at bugs.python.org
Mon Oct 26 09:48:49 EDT 2020
Eric V. Smith <eric at trueblade.com> added the comment:
What does locale.localeconv() return?
>>> locale.localeconv()
{'int_curr_symbol': '', 'currency_symbol': '', 'mon_decimal_point': '', 'mon_thousands_sep': '', 'mon_grouping': [], 'positive_sign': '', 'negative_sign': '', 'int_frac_digits': 127, 'frac_digits': 127, 'p_cs_precedes': 127, 'p_sep_by_space': 127, 'n_cs_precedes': 127, 'n_sep_by_space': 127, 'p_sign_posn': 127, 'n_sign_posn': 127, 'decimal_point': '.', 'thousands_sep': '', 'grouping': []}
>>>
In particular, the values of p_cs_precedes and n_cs_precedes.
----------
nosy: +eric.smith
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42156>
_______________________________________
More information about the Python-bugs-list
mailing list