summaryrefslogtreecommitdiff
path: root/Include/pylifecycle.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-08-29 11:47:29 +0200
committerGitHub <noreply@github.com>2018-08-29 11:47:29 +0200
commitdfe0dc74536dfb6f331131d9b2b49557675bb6b7 (patch)
tree485dd3b5ddce8e6c2d7ebbd6d113e1c5ee6f3707 /Include/pylifecycle.h
parent177d921c8c03d30daa32994362023f777624b10d (diff)
downloadcpython-git-dfe0dc74536dfb6f331131d9b2b49557675bb6b7.tar.gz
bpo-34485: Add _PyCoreConfig.stdio_encoding (GH-8881)
* Add stdio_encoding and stdio_errors fields to _PyCoreConfig. * Add unit tests on stdio_encoding and stdio_errors.
Diffstat (limited to 'Include/pylifecycle.h')
-rw-r--r--Include/pylifecycle.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/pylifecycle.h b/Include/pylifecycle.h
index 2029827702..b96db1e38b 100644
--- a/Include/pylifecycle.h
+++ b/Include/pylifecycle.h
@@ -179,6 +179,9 @@ PyAPI_FUNC(void) _Py_CoerceLegacyLocale(const _PyCoreConfig *config);
PyAPI_FUNC(int) _Py_LegacyLocaleDetected(void);
PyAPI_FUNC(char *) _Py_SetLocaleFromEnv(int category);
#endif
+#ifdef Py_BUILD_CORE
+PyAPI_FUNC(int) _Py_IsLocaleCoercionTarget(const char *ctype_loc);
+#endif
#ifdef __cplusplus
}