[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'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 
<https://bugs.python.org/issue46338>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/issue46338>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com