Support for python free threading
Alan DeKok
alan.dekok at inkbridge.io
Fri May 1 15:59:18 UTC 2026
On May 1, 2026, at 11:44 AM, The2nd <the2nd at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20260501/06e9c6ed/attachment.sig>
More information about the Freeradius-Users
mailing list