Support for python free threading
Hello list, i want to ask, if there are plans to support python in free threading mode (https://docs.python.org/3/howto/free-threading-python.html). Regards The2nd
On May 1, 2026, at 11:44 AM, The2nd <the2nd@otpme.org> wrote:
i want to ask, if there are plans to support python in free threading mode (https://docs.python.org/3/howto/free-threading-python.html).
Sure? We're happy to accept patches. The Python documentation for C code is here: https://docs.python.org/3/howto/free-threading-extensions.html From a quick look, it might be hard to do for 3.2. The rlm_python3 module there is hard-coded to lock the GIL. In v3, rlm_python creates a Python interpreter per thread. So that's a lot easier to fix. Alan DeKok.
On Fri, May 1, 2026 at 10:46 PM The2nd <the2nd@otpme.org> wrote:
Hello list,
i want to ask, if there are plans to support python in free threading mode (https://docs.python.org/3/howto/free-threading-python.html).
I think it's easier to just use rlm_rest, and you can build your backend as powerfull as you can.
Regards -wowon-
Regards
The2nd
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (3)
-
Alan DeKok -
Bino Oetomo -
The2nd