-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
platform.libc_ver() doesn't consider in case of executable is empty string #86423
Comments
Currently, Line 1205 in efc782d
https://docs.python.org/3/library/sys.html#sys.executable Because the Line 174 in efc782d
Or please also merge the following PR to Python 3.8. |
Can anyone review this PR? |
Reviewed. Please check on the PR for comments. |
I'm curious. In which case sys.executable is an empty string? Do you embed Python in an application. If Python is embedded, would it be possible to share the code used to configure Python initialization? |
Yes. It's embedded Python.
https://github.com/DataDog/datadog-agent/blob/master/omnibus/config/software/python3.rb datadog-agent's official install script is here. |
Also, PR comment processed. |
Thanks for the patch. Merging is currently prevented by an unrelated test for nntplib failing. See e.g. https://github.com/python/cpython/pull/23140/checks?check_run_id=1630509357. This is being tracked in https://bugs.python.org/issue42794 |
#23140 merged. Thanks for the patch, Kurochan. |
Note: I did not request a backport, since this really is a new feature. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: