[issue1158490] locale fails if LANGUAGE has multiple locales

Mark Lawrence report at bugs.python.org
Sat Jun 28 23:17:19 CEST 2014


Mark Lawrence added the comment:

The words here https://docs.python.org/3/library/locale.html#locale.getdefaultlocale read in part "envvars defaults to the search path used in GNU gettext; it must always contain the variable name 'LANG'.".  I think this means that envvars should always contain 'LANG', even if the default is not used, but the code doesn't seem to need that.  If somebody can clarify this for me I'll submit a new patch.

----------
nosy: +BreamoreBoy
versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1158490>
_______________________________________


More information about the Python-bugs-list mailing list