Lines Matching defs:locale
7 import locale
17 raise unittest.SkipTest("locale support broken for OS X < 10.4")
34 # workaround a mbstowcs() bug. For example, on Solaris, the hu_HU locale uses
35 # the locale encoding ISO-8859-2, the thousands separator is b'\xA0' and it is
38 old_locale = locale.setlocale(locale.LC_ALL)
43 locale.setlocale(locale.LC_ALL, loc)
46 encoding = locale.getencoding()
50 print("WARNING: Skip locale %s (encoding %s): [%s] %s"
56 locale.setlocale(locale.LC_ALL, old_locale)
65 # List known locale values to test against when available.
66 # Dict formatted as ``<locale> : (<decimal_point>, <thousands_sep>)``. If a
91 # the locale that was supposedly set, and the actual locale that is set.
190 # Ignore buggy locale databases. (Mac OS 10.4 and some other BSDs)