diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-11-14 00:24:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-14 00:24:28 +0100 |
commit | 7ddd56f4d835c6107b20a0b4233185bb59270142 (patch) | |
tree | faffdfb7ca138f1b40c608b3b2727cfe34f1f5f3 /Python/traceback.c | |
parent | 746b2d35ea47005054ed774fecaed64fab803d7d (diff) | |
download | cpython-git-7ddd56f4d835c6107b20a0b4233185bb59270142.tar.gz |
bpo-35233: Rewrite test_embed.InitConfigTests (GH-10524)
* Fix _PyCoreConfig_SetGlobalConfig(): set also Py_FrozenFlag
* Fix _PyCoreConfig_AsDict(): export also xoptions
* Add _Py_GetGlobalVariablesAsDict() and _testcapi.get_global_config()
* test.pythoninfo: dump also global configuration variables
* _testembed now serializes global, core and main configurations
using JSON to reuse _Py_GetGlobalVariablesAsDict(),
_PyCoreConfig_AsDict() and _PyMainInterpreterConfig_AsDict(),
rather than duplicating code.
* test_embed.InitConfigTests now test much more configuration
variables
Diffstat (limited to 'Python/traceback.c')
0 files changed, 0 insertions, 0 deletions