PEP 538: tweak wording of proposed warnings
This commit is contained in:
parent
c2aa424e28
commit
e788aa9084
|
@ -363,14 +363,14 @@ When this locale coercion is activated, the following warning will be
|
|||
printed on stderr, with the warning containing whichever locale was
|
||||
successfully configured::
|
||||
|
||||
Python detected LC_CTYPE=C, LC_ALL & LANG set to C.UTF-8 (set
|
||||
PYTHONCOERCECLOCALE=0 to disable this locale coercion behaviour).
|
||||
Python detected LC_CTYPE=C, LC_ALL & LANG set to C.UTF-8 (set another
|
||||
locale or PYTHONCOERCECLOCALE=0 to disable this locale coercion behaviour).
|
||||
|
||||
When falling all the way back to the ``en_US.UTF-8`` locale, the message would
|
||||
be slightly different::
|
||||
|
||||
Python detected LC_CTYPE=C, LC_CTYPE set to en_US.UTF-8 (set
|
||||
PYTHONCOERCECLOCALE=0 to disable this locale coercion behaviour).
|
||||
Python detected LC_CTYPE=C, LC_CTYPE set to en_US.UTF-8 (set another locale
|
||||
or PYTHONCOERCECLOCALE=0 to disable this locale coercion behaviour).
|
||||
|
||||
This locale coercion will mean that the standard Python binary should once
|
||||
again "just work" in the three main failure cases we're aware of (missing locale
|
||||
|
|
Loading…
Reference in New Issue