◐ Shell
clean mode source ↗

Message 23595 - Python tracker

Logged In: YES 
user_id=638376

I agree that "default" would probably be called "preferred".

@loewis: 
a)
I agree with your point of view but I as a developer I just
want to get the current locale in use and locale.py serves
that purpose in a platform independant way. The
"never-ending maintenance problem" is the result of the 
locale horror we all have to live with until there's a final
solution/standard for it.

b)
Agree, I now understand your  "getdefaultlocale ..
inherently broken" comment. But we still have a locale
module that supports some of the valid locales but not all,
which is (IMO) worse then having none at all.

BTW: getting the current locale to get a platform
independant language setting, should perhaps be part of
gettext.py instead of locale.py?