From 132dc4a7324327f01a4391d5aed661e3bb969359 Mon Sep 17 00:00:00 2001 From: Carlo Bramini Date: Sun, 19 Apr 2026 16:38:48 +0200 Subject: [PATCH] gh-148758: Fix dynamic loading file extensions for CYGWIN This patch fixes issue #148758. After applying the patch, this will be the result on the console: Checked 115 modules (37 built-in, 77 shared, 1 n/a on cygwin-3.6.7-x86_64, 0 disabled, 0 missing, 0 failed on import) --- Python/dynload_shlib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Python/dynload_shlib.c b/Python/dynload_shlib.c index 2e1455fbe232f4..b015fcb987e898 100644 --- a/Python/dynload_shlib.c +++ b/Python/dynload_shlib.c @@ -38,6 +38,8 @@ const char *_PyImport_DynLoadFiletab[] = { #ifdef __CYGWIN__ + "." SOABI ".dll", + ".abi" PYTHON_ABI_STRING ".dll", ".dll", #else /* !__CYGWIN__ */ "." SOABI ".so",