Marc-Andre Lemburg <m...@egenix.com> added the comment:
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 ? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46338> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com