Skip to content

Commit

Permalink
change py init from Isolated to Python
Browse files Browse the repository at this point in the history
  • Loading branch information
vanosg committed Jan 15, 2024
1 parent 40f93b8 commit 9fc0ae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mod/python.mod/python.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ static void init_python() {
putlog(LOG_MISC, "*", "Python: Python version %d is lower than 3.8, not loading Python module", PY_VERSION_HEX);
return;
}
PyConfig_InitIsolatedConfig(&config);
PyConfig_InitPythonConfig(&config);
config.install_signal_handlers = 0;
config.parse_argv = 0;
status = PyConfig_SetBytesString(&config, &config.program_name, argv0);
Expand Down Expand Up @@ -160,4 +160,4 @@ char *python_start(Function *global_funcs)
add_builtins(H_dcc, mydcc);
add_tcl_commands(my_tcl_cmds);
return NULL;
}
}

0 comments on commit 9fc0ae9

Please sign in to comment.