From: Nick Porter Date: Thu, 10 Apr 2025 16:58:06 +0000 (+0100) Subject: Py_NewInterpreter locks the GIL X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86d83f3e2223f5b82016e2548b758b5709f22dde;p=thirdparty%2Ffreeradius-server.git Py_NewInterpreter locks the GIL --- diff --git a/src/modules/rlm_python3/rlm_python3.c b/src/modules/rlm_python3/rlm_python3.c index ffc1df6871..4a628a6153 100644 --- a/src/modules/rlm_python3/rlm_python3.c +++ b/src/modules/rlm_python3/rlm_python3.c @@ -1206,6 +1206,7 @@ static int python_interpreter_init(rlm_python_t *inst, CONF_SECTION *conf) */ if (!inst->cext_compat) { inst->sub_interpreter = Py_NewInterpreter(); + locked = true; } else { inst->sub_interpreter = main_interpreter; }