[New-bugs-announce] [issue46338] libc_ver() runtime error when sys.executable is empty

Allie Hammond report at bugs.python.org
Mon Jan 10 17:01:51 EST 2022


New submission from Allie Hammond <allie.hammond at onelogin.com>:

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.

----------
messages: 410261
nosy: allie.hammond, lemburg
priority: normal
severity: normal
status: open
title: libc_ver() runtime error when sys.executable is empty
type: crash
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46338>
_______________________________________


More information about the New-bugs-announce mailing list