Lines Matching refs:setlocale
8 maps them to values suitable for passing to the C lib's setlocale() function. It
28 "setlocale", "resetlocale", "localeconv", "strcoll", "strxfrm",
87 def setlocale(category, value=None):
88 """ setlocale(integer,string=None) -> string.
345 setlocale(LC_ALL, "")
358 # store away the low-level version of setlocale (it's
360 _setlocale = setlocale
402 setlocale().
408 the default encoding for the locale code just like setlocale()
540 setlocale(LC_ALL, "") runs using the portable 'C' locale.
541 Calling setlocale(LC_ALL, "") lets it use the default locale as
560 "Use setlocale(), getencoding() and getlocale() instead",
611 def setlocale(category, locale=None):
638 'Use locale.setlocale(locale.LC_ALL, "") instead',
693 old_loc = setlocale(LC_CTYPE)
696 setlocale(LC_CTYPE, "")
701 setlocale(LC_CTYPE, old_loc)
1757 setlocale(LC_ALL, "")
1760 print('setlocale(LC_ALL, "") does not support the default locale')
1764 print('Locale settings after calling setlocale(LC_ALL, ""):')