Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_PyRuntime_Initialize
Py_InitializeEx
1 parent 513db72 commit 789120eCopy full SHA for 789120e
1 file changed
Python/pylifecycle.c
@@ -1641,18 +1641,12 @@ Py_InitializeFromConfig(const PyConfig *config)
1641
void
1642
Py_InitializeEx(int install_sigs)
1643
{
1644
- PyStatus status;
1645
-
1646
- status = _PyRuntime_Initialize();
1647
- if (_PyStatus_EXCEPTION(status)) {
1648
- Py_ExitStatusException(status);
1649
- }
1650
1651
if (Py_IsInitialized()) {
1652
/* bpo-33932: Calling Py_Initialize() twice does nothing. */
1653
return;
1654
}
1655
+ PyStatus status;
1656
PyConfig config;
1657
_PyConfig_InitCompatConfig(&config);
1658
0 commit comments