summaryrefslogtreecommitdiffstats
path: root/Include/cpython/coreconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/cpython/coreconfig.h')
-rw-r--r--Include/cpython/coreconfig.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Include/cpython/coreconfig.h b/Include/cpython/coreconfig.h
index bd28c37..8362209 100644
--- a/Include/cpython/coreconfig.h
+++ b/Include/cpython/coreconfig.h
@@ -73,7 +73,12 @@ typedef struct {
set to !Py_IgnoreEnvironmentFlag. */
int use_environment;
- int coerce_c_locale; /* PYTHONCOERCECLOCALE, -1 means unknown */
+ /* PYTHONCOERCECLOCALE, -1 means unknown.
+
+ If it is equal to 1, LC_CTYPE locale is read to decide it it should be
+ coerced or not (ex: PYTHONCOERCECLOCALE=1). Internally, it is set to 2
+ if the LC_CTYPE locale must be coerced. */
+ int coerce_c_locale;
int coerce_c_locale_warn; /* PYTHONCOERCECLOCALE=warn */
#ifdef MS_WINDOWS