]> granicus.if.org Git - python/commit
bpo-38304: PyConfig_InitPythonConfig() cannot fail anymore (GH-16509)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 1 Oct 2019 10:26:04 +0000 (03:26 -0700)
committerGitHub <noreply@github.com>
Tue, 1 Oct 2019 10:26:04 +0000 (03:26 -0700)
commitd49f096cc41f57155efe71cd089c29b38c218488
tree1830b017fe1259e6d5cc27390f0331a83b7d8ba2
parent938c00ca9e4207a2531041edff2e82490b02047f
bpo-38304: PyConfig_InitPythonConfig() cannot fail anymore (GH-16509)

PyConfig_InitPythonConfig() and PyConfig_InitIsolatedConfig() no
longer return PyStatus: they cannot fail anymore.
(cherry picked from commit 8462a4936b3a551dc546a6adea04a70b0a07ca67)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
12 files changed:
Doc/c-api/init_config.rst
Include/cpython/initconfig.h
Include/internal/pycore_initconfig.h
Modules/main.c
PC/python_uwp.cpp
Programs/_freeze_importlib.c
Programs/_testembed.c
Python/frozenmain.c
Python/initconfig.c
Python/pathconfig.c
Python/pylifecycle.c
Python/pystate.c