From d49f096cc41f57155efe71cd089c29b38c218488 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Tue, 1 Oct 2019 03:26:04 -0700 Subject: 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 --- PC/python_uwp.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'PC/python_uwp.cpp') diff --git a/PC/python_uwp.cpp b/PC/python_uwp.cpp index 758c8f7372..88369e8fbf 100644 --- a/PC/python_uwp.cpp +++ b/PC/python_uwp.cpp @@ -193,10 +193,7 @@ wmain(int argc, wchar_t **argv) } } - status = PyConfig_InitPythonConfig(&config); - if (PyStatus_Exception(status)) { - goto fail_without_config; - } + PyConfig_InitPythonConfig(&config); status = PyConfig_SetArgv(&config, argc, argv); if (PyStatus_Exception(status)) { -- cgit v1.2.1