Author Peter.Stahl
Recipients Peter.Stahl, skrah
Date 2013-01-12.11:52:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <C039780E-9E41-4C21-A122-2EA9CB98FFA8@googlemail.com>
In-reply-to <1357990754.57.0.579907315955.issue16944@psf.upfronthosting.co.za>
Content
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>
> _______________________________________
History
Date User Action Args
2013-01-12 11:52:17Peter.Stahlsetrecipients: + Peter.Stahl, skrah
2013-01-12 11:52:17Peter.Stahllinkissue16944 messages
2013-01-12 11:52:17Peter.Stahlcreate