summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-09-03 15:06:39 (GMT)
committerGitHub <noreply@github.com>2018-09-03 15:06:39 (GMT)
commit2094c2bea4f79c31819994d8f0afa97ccc52cca8 (patch)
treee1b9c2d270d939108bbdb44e059ec33b7359e4a2 /Include
parent8ea09110d413829f71d979d8c7073008cb87fb03 (diff)
downloadcpython-2094c2bea4f79c31819994d8f0afa97ccc52cca8.zip
cpython-2094c2bea4f79c31819994d8f0afa97ccc52cca8.tar.gz
cpython-2094c2bea4f79c31819994d8f0afa97ccc52cca8.tar.bz2
bpo-34567: pythoninfo gets coreconfig (GH-9043)
* Add _testcapi.get_coreconfig() to get the _PyCoreConfig of the interpreter * test.pythoninfo now gets the core configuration using _testcapi.get_coreconfig()
Diffstat (limited to 'Include')
-rw-r--r--Include/coreconfig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/coreconfig.h b/Include/coreconfig.h
index 431c292..ef043ab 100644
--- a/Include/coreconfig.h
+++ b/Include/coreconfig.h
@@ -366,6 +366,10 @@ PyAPI_FUNC(int) _Py_SetFileSystemEncoding(
PyAPI_FUNC(void) _Py_ClearFileSystemEncoding(void);
#endif
+#ifndef Py_LIMITED_API
+PyAPI_FUNC(PyObject*) _Py_wstrlist_as_pylist(int len, wchar_t **list);
+#endif
+
#ifdef __cplusplus
}