This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients allie.hammond, lemburg
Date 2022-01-11.09:49:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <2c5e4a08-b684-31fc-cb50-f85fda53ed78@egenix.com>
In-reply-to <1641852111.45.0.964710439738.issue46338@roundup.psfhosted.org>
Content
On 10.01.2022 23:01, Allie Hammond wrote:
> 
> libc_ver() in platform.py (called from platform()) causes a runtime error if sys.executable returns null. In my case, FreeRADIUS offers a module rlm_python3 which allows you to run python code from the C based FreeRADIUS server - since this module doesn't use a python binary to execute sys.executable returns null trigering this error.

Interesting. I guess rlm_python3 embeds Python. Is sys.executable an
empty string or None ?
History
Date User Action Args
2022-01-11 09:49:35lemburgsetrecipients: + lemburg, allie.hammond
2022-01-11 09:49:35lemburglinkissue46338 messages
2022-01-11 09:49:35lemburgcreate