Message179788
Using the locale 'de_DE', the output is:
{'mon_decimal_point': ',', 'int_frac_digits': 2, 'p_sep_by_space': 0, 'frac_digits': 2, 'thousands_sep': '', 'n_sign_posn': 1, 'decimal_point': ',', 'int_curr_symbol': 'EUR ', 'n_cs_precedes': 1, 'p_sign_posn': 1, 'mon_thousands_sep': '.', 'negative_sign': '-', 'currency_symbol': 'Eu', 'n_sep_by_space': 0, 'mon_grouping': [3, 3, 0], 'p_cs_precedes': 1, 'positive_sign': '', 'grouping': [127]}
What does the number 127 mean?
Am 12.01.2013 um 12:39 schrieb Stefan Krah <report@bugs.python.org>:
>
> Stefan Krah added the comment:
>
> What is the output of this?
>
>>>> locale.localeconv()
> {'mon_decimal_point': ',', 'frac_digits': 2, 'p_sign_posn': 1, 'thousands_sep': '.', 'p_sep_by_space': 1, 'int_curr_symbol': 'EUR ', 'decimal_point': ',', 'mon_thousands_sep': '.', 'n_sep_by_space': 1, 'int_frac_digits': 2, 'currency_symbol': 'EUR', 'negative_sign': '-', 'mon_grouping': [3, 3, 0], 'positive_sign': '', 'n_cs_precedes': 0, 'grouping': [3, 3, 0], 'n_sign_posn': 1, 'p_cs_precedes': 0}
>
>
> If 'grouping' is [], then this looks like a bug in OSX. Python gets
> the values directly from the operating system.
>
> ----------
> nosy: +skrah
> status: open -> pending
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue16944>
> _______________________________________ |
|
Date |
User |
Action |
Args |
2013-01-12 11:52:17 | Peter.Stahl | set | recipients:
+ Peter.Stahl, skrah |
2013-01-12 11:52:17 | Peter.Stahl | link | issue16944 messages |
2013-01-12 11:52:17 | Peter.Stahl | create | |
|