https://github.com/python/cpython/commit/50476a7e87926cf6a9ea978943c4a3d5d771c95f
commit: 50476a7e87926cf6a9ea978943c4a3d5d771c95f
branch: main
author: Carlo Bramini <[email protected]>
committer: vstinner <[email protected]>
date: 2026-05-13T21:50:24Z
summary:

gh-148758: Fix dynamic loading file extensions for Cygwin (#148759)

Co-authored-by: Victor Stinner <[email protected]>

files:
M Python/dynload_shlib.c

diff --git a/Python/dynload_shlib.c b/Python/dynload_shlib.c
index 2e1455fbe232f4..0ff88ad330fd09 100644
--- a/Python/dynload_shlib.c
+++ b/Python/dynload_shlib.c
@@ -38,6 +38,7 @@
 
 const char *_PyImport_DynLoadFiletab[] = {
 #ifdef __CYGWIN__
+    "." SOABI ".dll",
     ".dll",
 #else  /* !__CYGWIN__ */
     "." SOABI ".so",

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to