]> granicus.if.org Git - python/commit
bpo-36763: Add _PyCoreConfig_SetString() (GH-13035)
authorVictor Stinner <vstinner@redhat.com>
Wed, 1 May 2019 13:22:52 +0000 (15:22 +0200)
committerGitHub <noreply@github.com>
Wed, 1 May 2019 13:22:52 +0000 (15:22 +0200)
commit1a9f0d8efded4bf37c864ed572beff28c43c7c77
tree5ead40c23d01803d041465871c24e39cfcc48b37
parent2fc936ed24cf04ed32f6015a8aa78c8ea40da66b
bpo-36763: Add _PyCoreConfig_SetString() (GH-13035)

Add 3 new config methods:

* _PyCoreConfig_SetString()
* _PyCoreConfig_SetWideString()
* _PyCoreConfig_SetWideStringFromString()

Changes:

* _PyCoreConfig_Copy() returns _PyInitError.
* Add CONFIG_GET_ENV_DUP().
Include/internal/pycore_coreconfig.h
Python/coreconfig.c
Python/pylifecycle.c