pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python/cpython/commit/ac14632c756fec561e4b868b8793334bd7b22241

l="stylesheet" href="https://github.githubassets.com/assets/global-d18f184ea1a06a2c.css" /> bpo-37369: Fixes crash when reporting fatal error (GH-14468) · python/cpython@ac14632 · GitHub
Skip to content

Commit ac14632

Browse files
authored
bpo-37369: Fixes crash when reporting fatal error (GH-14468)
1 parent 9048c49 commit ac14632

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

PC/python_uwp.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,12 @@ wmain(int argc, wchar_t **argv)
166166
PyPreConfig_InitPythonConfig(&preconfig);
167167
status = Py_PreInitializeFromArgs(&preconfig, argc, argv);
168168
if (PyStatus_Exception(status)) {
169-
goto fail;
169+
goto fail_without_config;
170170
}
171171

172172
status = PyConfig_InitPythonConfig(&config);
173173
if (PyStatus_Exception(status)) {
174-
goto fail;
174+
goto fail_without_config;
175175
}
176176

177177
status = PyConfig_SetArgv(&config, argc, argv);
@@ -233,6 +233,7 @@ wmain(int argc, wchar_t **argv)
233233

234234
fail:
235235
PyConfig_Clear(&config);
236+
fail_without_config:
236237
if (PyStatus_IsExit(status)) {
237238
return status.exitcode;
238239
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy