[issue46338] libc_ver() runtime error when sys.executable is empty

2022-01-11 Thread Allie Hammond
Allie Hammond added the comment: Thanks for getting back to me so quickly! It's an empty string -- ___ Python tracker <https://bugs.python.org/is

[issue46338] libc_ver() runtime error when sys.executable is empty

2022-01-10 Thread Allie Hammond
New submission from Allie Hammond : 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&#