Matej Cepl added the comment:
>>> import locale
>>> locale.localeconv()
{'p_cs_precedes': 127, 'n_sep_by_space': 127, 'n_sign_posn': 127,
'n_cs_precedes': 127, 'grouping': [], 'positive_sign': '', 'mon_grouping': [],
'p_sep_by_space': 127, 'mon_thousands_sep': '', 'currency_symbol': '',
'mon_decimal_point': '', 'int_curr_symbol': '', 'thousands_sep': '',
'frac_digits': 127, 'int_frac_digits': 127, 'negative_sign': '',
'decimal_point': '.', 'p_sign_posn': 127}
>>> locale.setlocale(locale.LC_ALL, '')
'LC_CTYPE=en_US.utf8;LC_NUMERIC=en_IE.utf8;LC_TIME=en_IE.utf8;LC_COLLATE=en_US.utf8;LC_MONETARY=en_IE.utf8;LC_MESSAGES=en_US.utf8;LC_PAPER=en_IE.utf8;LC_NAME=en_US.utf8;LC_ADDRESS=en_US.utf8;LC_TELEPHONE=en_US.utf8;LC_MEASUREMENT=en_IE.utf8;LC_IDENTIFICATION=en_US.utf8'
>>> locale.localeconv()
{'p_cs_precedes': 1, 'n_sep_by_space': 0, 'n_sign_posn': 1, 'n_cs_precedes': 1,
'grouping': [3, 3, 0], 'positive_sign': '', 'mon_grouping': [3, 3, 0],
'p_sep_by_space': 0, 'mon_thousands_sep': ',', 'currency_symbol': '€',
'mon_decimal_point': '.', 'int_curr_symbol': 'EUR ', 'thousands_sep': ',',
'frac_digits': 2, 'int_frac_digits': 2, 'negative_sign': '-', 'decimal_point':
'.', 'p_sign_posn': 1}
>>>
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue7442>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com