Skip to content

Comments

[3.14] gh-143304: Fix ctypes.CDLL to honor handle parameter on POSIX systems (GH-143318)#145172

Open
miss-islington wants to merge 1 commit intopython:3.14from
miss-islington:backport-27ded24-3.14
Open

[3.14] gh-143304: Fix ctypes.CDLL to honor handle parameter on POSIX systems (GH-143318)#145172
miss-islington wants to merge 1 commit intopython:3.14from
miss-islington:backport-27ded24-3.14

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Feb 24, 2026

The handle parameter was being ignored in the POSIX implementation
of CDLL._load_library(), causing it to always call _dlopen() even
when a valid handle was provided. This was a regression introduced
in recent refactoring.
(cherry picked from commit 27ded24)

Co-authored-by: Arjit Singh Grover 143692910+Koolvansh07@users.noreply.github.com

…ystems (pythonGH-143318)

The handle parameter was being ignored in the POSIX implementation
of CDLL._load_library(), causing it to always call _dlopen() even
when a valid handle was provided. This was a regression introduced
in recent refactoring.
(cherry picked from commit 27ded243485670fa836c9bb421e37a6ef16eca8e)

Co-authored-by: Arjit Singh Grover <143692910+Koolvansh07@users.noreply.github.com>
@python-cla-bot
Copy link

The following commit authors need to sign the Contributor License Agreement:

CLA not signed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants