Skip to content

gh-149831: Fix ctypes wrong DLL library name for CYGWIN.#149832

Merged
vstinner merged 3 commits into
python:mainfrom
carlo-bramini:fix-cygwin-test-1
May 15, 2026
Merged

gh-149831: Fix ctypes wrong DLL library name for CYGWIN.#149832
vstinner merged 3 commits into
python:mainfrom
carlo-bramini:fix-cygwin-test-1

Conversation

@carlo-bramini
Copy link
Copy Markdown
Contributor

@carlo-bramini carlo-bramini commented May 14, 2026

Comment thread Lib/ctypes/__init__.py Outdated
Comment thread Lib/ctypes/__init__.py Outdated
Co-authored-by: Victor Stinner <vstinner@python.org>
Comment thread Lib/ctypes/__init__.py Outdated
@vstinner vstinner enabled auto-merge (squash) May 15, 2026 14:01
@vstinner vstinner changed the title gh-149831: Fix wrong DLL library name for CYGWIN. gh-149831: Fix ctypes wrong DLL library name for CYGWIN. May 15, 2026
@vstinner vstinner merged commit 50aff5f into python:main May 15, 2026
51 checks passed
@vstinner
Copy link
Copy Markdown
Member

Merged, thanks for the fix. I confirm that import ctypes works with this change.

I replaced in with == and removed the comment in the Cygin code path.

@carlo-bramini carlo-bramini deleted the fix-cygwin-test-1 branch May 15, 2026 14:37
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