]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-119349: Add ctypes.util.dllist -- list loaded shared libraries (GH-122946)
authorBrian Ward <brianmward99@gmail.com>
Sat, 8 Feb 2025 13:02:36 +0000 (08:02 -0500)
committerGitHub <noreply@github.com>
Sat, 8 Feb 2025 13:02:36 +0000 (14:02 +0100)
commit421ea1291d9b8ebfe5eaa72ab041338073fb67d0
treee51a4d513f9bac74b2cd74d3f46257ac3cd50600
parent0f128b9435fccb296714f3ea2466c3fdda77d91d
gh-119349: Add ctypes.util.dllist -- list loaded shared libraries (GH-122946)

Add function to list the currently loaded libraries to ctypes.util

The dllist() function calls platform-specific APIs in order to
list the runtime libraries loaded by Python and any imported modules.
On unsupported platforms the function may be missing.

Co-authored-by: Eryk Sun <eryksun@gmail.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Doc/library/ctypes.rst
Doc/whatsnew/3.14.rst
Lib/ctypes/util.py
Lib/test/test_ctypes/test_dllist.py [new file with mode: 0644]
Misc/ACKS
Misc/NEWS.d/next/Library/2024-08-12-11-58-15.gh-issue-119349.-xTnHl.rst [new file with mode: 0644]