diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-10-01 10:06:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-01 10:06:16 (GMT) |
commit | 8462a4936b3a551dc546a6adea04a70b0a07ca67 (patch) | |
tree | 3c4655f174d1aa9abcdb5226532db0e4d7434bca /PC | |
parent | 3c30a76f3d3c0dcc1fb4de097fa4a3a4c92c0b0b (diff) | |
download | cpython-8462a4936b3a551dc546a6adea04a70b0a07ca67.zip cpython-8462a4936b3a551dc546a6adea04a70b0a07ca67.tar.gz cpython-8462a4936b3a551dc546a6adea04a70b0a07ca67.tar.bz2 |
bpo-38304: PyConfig_InitPythonConfig() cannot fail anymore (GH-16509)
PyConfig_InitPythonConfig() and PyConfig_InitIsolatedConfig() no
longer return PyStatus: they cannot fail anymore.
Diffstat (limited to 'PC')
-rw-r--r-- | PC/python_uwp.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/PC/python_uwp.cpp b/PC/python_uwp.cpp index 758c8f7..88369e8 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)) { |