summaryrefslogtreecommitdiff
path: root/Include/pylifecycle.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-11-13 19:59:26 +0100
committerGitHub <noreply@github.com>2018-11-13 19:59:26 +0100
commit00b137c72f90fbc39a6cd7e48b37c58d19977180 (patch)
tree445883d4e7861725c81f7d067b1d0aea17dd0698 /Include/pylifecycle.h
parentf966e5397ed8f5c42c185223fc9b4d750a678d02 (diff)
downloadcpython-git-00b137c72f90fbc39a6cd7e48b37c58d19977180.tar.gz
bpo-35233: Fix _PyMainInterpreterConfig_Copy() (GH-10519)
* Fix _PyMainInterpreterConfig_Copy(): copy 'install_signal_handlers' attribute * Add _PyMainInterpreterConfig_AsDict() * Add unit tests on the main interpreter configuration to test_embed.InitConfigTests * test.pythoninfo: log also main_config
Diffstat (limited to 'Include/pylifecycle.h')
-rw-r--r--Include/pylifecycle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/pylifecycle.h b/Include/pylifecycle.h
index ca1f24f2a1..3d9365d315 100644
--- a/Include/pylifecycle.h
+++ b/Include/pylifecycle.h
@@ -37,6 +37,8 @@ PyAPI_FUNC(void) _PyMainInterpreterConfig_Clear(_PyMainInterpreterConfig *);
PyAPI_FUNC(int) _PyMainInterpreterConfig_Copy(
_PyMainInterpreterConfig *config,
const _PyMainInterpreterConfig *config2);
+PyAPI_FUNC(PyObject*) _PyMainInterpreterConfig_AsDict(
+ const _PyMainInterpreterConfig *config);
PyAPI_FUNC(_PyInitError) _Py_InitializeMainInterpreter(
PyInterpreterState *interp,