diff options
author | Filipe Laíns 🇵🇸 <lains@riseup.net> | 2025-01-08 12:03:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-08 12:03:21 (GMT) |
commit | 95cd9c669cdc7718198addb1abb49941a2c61fae (patch) | |
tree | 33f09f079a8816bbf9b29f7aa4e2000f3f7b950d /Misc | |
parent | eb26e170695f15714b5e2ae0c0b83aa790c97869 (diff) | |
download | cpython-95cd9c669cdc7718198addb1abb49941a2c61fae.zip cpython-95cd9c669cdc7718198addb1abb49941a2c61fae.tar.gz cpython-95cd9c669cdc7718198addb1abb49941a2c61fae.tar.bz2 |
GH-127970: find the runtime library when dladdr is available (#127972)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core_and_Builtins/2024-12-15-19-51-54.gh-issue-127970.vdUp-y.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core_and_Builtins/2024-12-15-19-51-54.gh-issue-127970.vdUp-y.rst b/Misc/NEWS.d/next/Core_and_Builtins/2024-12-15-19-51-54.gh-issue-127970.vdUp-y.rst new file mode 100644 index 0000000..e4dc7b5 --- /dev/null +++ b/Misc/NEWS.d/next/Core_and_Builtins/2024-12-15-19-51-54.gh-issue-127970.vdUp-y.rst @@ -0,0 +1,6 @@ +We now use the location of the ``libpython`` runtime library used in the current +proccess to determine :data:`sys.base_prefix` on all platforms implementing the +`dladdr <https://pubs.opengroup.org/onlinepubs/9799919799/functions/dladdr.html>`_ +function defined by the UNIX standard — this includes Linux, Android, macOS, +iOS, FreeBSD, etc. This was already the case on Windows and macOS Framework +builds. |