]> granicus.if.org Git - python/commit
bpo-36301: Add _Py_GetConfigsAsDict() function (GH-12540)
authorVictor Stinner <vstinner@redhat.com>
Mon, 25 Mar 2019 22:19:57 +0000 (23:19 +0100)
committerGitHub <noreply@github.com>
Mon, 25 Mar 2019 22:19:57 +0000 (23:19 +0100)
commit1075d1684ab84dc7c28d93cfb46e95e70d3b6d3b
tree7a0543a13a28f88318d16f8900111ea10198a4a3
parent91759d98015e1d6d5e1367cff60592ab548e7806
bpo-36301: Add _Py_GetConfigsAsDict() function (GH-12540)

* Add _Py_GetConfigsAsDict() function to get all configurations as a
  dict.
* dump_config() of _testembed.c now dumps preconfig as a separated
  key: call _Py_GetConfigsAsDict().
* Make _PyMainInterpreterConfig_AsDict() private.
Include/cpython/coreconfig.h
Include/cpython/pylifecycle.h
Include/internal/pycore_coreconfig.h
Lib/test/pythoninfo.py
Lib/test/test_embed.py
Modules/_testcapimodule.c
Programs/_testembed.c
Python/coreconfig.c
Python/preconfig.c