From 34d69bad02bb9da77a1281337175bb54c51c3532 Mon Sep 17 00:00:00 2001 From: Nick Coghlan Date: Sat, 7 Jan 2017 18:19:44 +1000 Subject: [PATCH] PEP 538: cite all 3 common failure modes --- pep-0538.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pep-0538.txt b/pep-0538.txt index b84df4169..7e432a43d 100644 --- a/pep-0538.txt +++ b/pep-0538.txt @@ -368,9 +368,10 @@ be slightly different:: 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 two main failure cases we're aware of (missing locale -settings and SSH forwarding of unknown locales), as long as the target -platform provides at least one of the candidate UTF-8 based environments. +again "just work" in the three main failure cases we're aware of (missing locale +settings, SSH forwarding of unknown locales, and developers explicitly +requesting ``LANG=C``), as long as the target platform provides at least one +of the candidate UTF-8 based environments. If ``PYTHONCOERCECLOCALE=0`` is set, or none of the candidate locales is successfully configured, then initialization will continue as usual in the C @@ -425,6 +426,7 @@ preprocessor definition. On platforms where they would have no effect (e.g. Mac OS X, iOS, Android, Windows) these preprocessor variables would always be undefined. + Platform Support Changes ========================