Searched defs:setlocale (Results 1 - 3 of 3) sorted by relevance

/pkg/src/util/publish/
H A Dupdate_file_layout.py41 from pkg.misc import emsg, PipeError, setlocale namespace
93 setlocale(locale.LC_ALL, "")
/pkg/src/
H A Ddepot.py101 from pkg.misc import msg, emsg, setlocale namespace
259 setlocale(locale.LC_ALL, "")
/pkg/src/modules/
H A Dmisc.py474 def setlocale(category, loc=None, printer=None): function
475 """Wraps locale.setlocale(), falling back to the C locale if the desired
478 setlocale() will print the message to stderr."""
484 locale.setlocale(category, loc)
486 # with a ValueError even if setlocale succeeds. So we call
497 locale.setlocale(category, "C")

Completed in 20 milliseconds