diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2000-07-09 17:12:58 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2000-07-09 17:12:58 (GMT) |
commit | 6c86b99dc1e2d02cb4631df65f0726416a783087 (patch) | |
tree | 97ade424c0b4c0d33715d968d14260da2e531cc5 /Modules | |
parent | c70b4483d2c5042c68198dc7c4945ef3cfc95b27 (diff) | |
download | cpython-6c86b99dc1e2d02cb4631df65f0726416a783087.zip cpython-6c86b99dc1e2d02cb4631df65f0726416a783087.tar.gz cpython-6c86b99dc1e2d02cb4631df65f0726416a783087.tar.bz2 |
- merged setlocale and set_locale. the internal setlocale
function is overridden by a python version which accepts
*either* a string (old behaviour) or a locale tuple.
- renamed a few methods (for consistency):
get_locale => getlocale
get_default_locale => getdefaultlocale
set_to_default => resetlocale (!)
- the _locale implementation module can now implement
an optional _getdefaultlocale function. if that function
isn't available, a POSIX-based approach is used (checking
LANG and other environment variables, as usual).
(patch #100765)
Diffstat (limited to 'Modules')
0 files changed, 0 insertions, 0 deletions