Peter Stahl added the comment:
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 <[email protected]>:
>
> 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 <[email protected]>
> <http://bugs.python.org/issue16944>
> _______________________________________
----------
status: pending -> open
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue16944>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com