rlm_python / v4.x vs. rlm_python3 / v3.x
hessu at hes.iki.fi
Tue Apr 28 13:41:30 CEST 2020
On Tue, 28 Apr 2020, Alan DeKok wrote:
> On Apr 28, 2020, at 5:38 AM, Heikki Hannikainen <hessu at hes.iki.fi> wrote:
>> I'd like to ask for clarification on Python 3 support status, from the python code point of view. From what I see here, and in the ticket (https://github.com/FreeRADIUS/freeradius-server/issues/2351), rlm_python3 appears to work alright for those who have tested it.
> Yes. That module was just added last year.
>> On the other hand, https://freeradius.org/modules/?mod=rlm_python3 lists rlm_python3 as deprecated, although @alandekok does suggest using it on Freeradius 3.x on this mailing list this month.
> It's listed that way because rlm_python3 is not in v4. Instead, we just use rlm_python there.
>> If one were to write python code, in Python 3, right now, should one target the stable Freeradius 3.x branch on rlm_python3, or Freeradius master/4.x branch with rlm_python compiled against Python 3?
> Don't use the master branch. It's still in major development.
> Use v3, and rlm_python3. It's fine.
Excellent, thank you for the replies. Additionally Matthew Newton simply
replied (off-list) "Use rlm_python3 in v3." so I'm guess the direction is
More information about the Freeradius-Users