]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129033: Remove _PyInterpreterState_SetConfig() function (#129048)
authorVictor Stinner <vstinner@python.org>
Mon, 20 Jan 2025 15:31:33 +0000 (16:31 +0100)
committerGitHub <noreply@github.com>
Mon, 20 Jan 2025 15:31:33 +0000 (16:31 +0100)
commit8ceb6cb117c8eda8c6913547f3a7de032ed25880
tree620bcc3131b41fb3c606e0e878f97c45633ae3f2
parent573c1815028fa54cc8b581eccc719ab6a1247ff5
gh-129033: Remove _PyInterpreterState_SetConfig() function (#129048)

Remove _PyInterpreterState_GetConfigCopy() and
_PyInterpreterState_SetConfig() private functions. PEP 741 "Python
Configuration C API" added a better public C API: PyConfig_Get() and
PyConfig_Set().
Include/internal/pycore_interp.h
Lib/test/_test_embed_set_config.py [deleted file]
Lib/test/support/__init__.py
Lib/test/test_capi/test_misc.py
Lib/test/test_embed.py
Lib/test/test_regrtest.py
Misc/NEWS.d/next/C_API/2025-01-20-10-40-11.gh-issue-129033.d1jltB.rst [new file with mode: 0644]
Modules/_testinternalcapi.c
Programs/_testembed.c
Python/pylifecycle.c
Python/pystate.c