Re: Support for python free threading

Alan DeKok via Freeradius-Users <[email protected]> Fri, 1 May 2026 11:59:18 -0400
Newsgroups gmane.comp.freeradius.user
Message-ID <[email protected]>
--===============5359584522078357369==
Content-Type: multipart/signed;
	boundary="Apple-Mail=_0EC42646-081F-4CFB-A6EB-DA5587C7616B";
	protocol="application/pgp-signature";
	micalg=pgp-sha256


--Apple-Mail=_0EC42646-081F-4CFB-A6EB-DA5587C7616B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

On May 1, 2026, at 11:44=E2=80=AFAM, The2nd <[email protected]> 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

  =46rom 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.


--Apple-Mail=_0EC42646-081F-4CFB-A6EB-DA5587C7616B
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEIUl02elqcIsf1zM0v3SJ0h7dTTMFAmn0zdYACgkQv3SJ0h7d
TTOwzg/+N97uxK5Zs+GtT9PyBOK23wqcWEWC9uycMeyHgs++9QXBXspHOzDUW3eJ
r/3noSp+Z/Ki7sDAfvnzIVwjkumI/jyeTw2ez5pBqzxkg/NrbmxZI9ovsd6HGvsj
sg1SBVkdzaQ5jVhPts9wb+PZGj6oXWVx0c/owwpAYDKj614qwUH9zGgi71VB+UWZ
KmjFjdiPjzSbad/NtIbcE2iNHeji4IV9TQ/a9IZPdBHRqfd/gmbHUvCO3u0jXtlr
7uY595Um+otEDO/8apBroGFR4QEvUnXETbmw9GxRpqScYQ+XGMpCESGoDRbqAQ22
7M9CwJuaSEdH6K5VyUt/KwJuX535KrSILP1ZkPVCl3veF8M2RQ5mFkaE78QyrxpD
RP1YfZpnuqCZtM8mwDER5OVp6VQcXo3wLIhl4jOXjq1TawGmXHAVuvuGJv5GXUTD
dwW9jkUr6HvLM5qzzGDg+36hFyBX+gSiEl7LYvmihnaUBtSBOJ8dafvPX/EKBPgc
MIjYWuhpf4f7Wpa3GQ8DbRtrNa4+ykgqc/7xMzh8aFnOhaTk+YhUXZdQeQmBMVW+
TZL8R6EDiBe4xW7B1T0cnbuvOYUEMDgSx2QWP8GQhsKyOR+aE6zrR1jxCACT6x51
j0m/w0CryNvijpdMbNV3fPCxbWxNWmt+pWTfSBuUvsN/rul6PCw=
=fTw2
-----END PGP SIGNATURE-----

--Apple-Mail=_0EC42646-081F-4CFB-A6EB-DA5587C7616B--

--===============5359584522078357369==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

--===============5359584522078357369==--