]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-44959: Add fallback to extension modules with '.sl' suffix on HP-UX (GH-27857)
authorFlorin Spătar <florin.spatar@gmail.com>
Wed, 8 Sep 2021 12:43:00 +0000 (15:43 +0300)
committerGitHub <noreply@github.com>
Wed, 8 Sep 2021 12:43:00 +0000 (14:43 +0200)
Misc/NEWS.d/next/Core and Builtins/2021-09-08-08-29-41.bpo-44959.OSwwPf.rst [new file with mode: 0644]
Python/dynload_hpux.c

diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-09-08-08-29-41.bpo-44959.OSwwPf.rst b/Misc/NEWS.d/next/Core and Builtins/2021-09-08-08-29-41.bpo-44959.OSwwPf.rst
new file mode 100644 (file)
index 0000000..02e11ae
--- /dev/null
@@ -0,0 +1 @@
+Added fallback to extension modules with '.sl' suffix on HP-UX
\ No newline at end of file
index e36d608c6dca4481ff1d97b55b079b1c9c207693..a53373038ed85988233c7d74db9a83a8ad93b17f 100644 (file)
@@ -13,7 +13,7 @@
 #define FUNCNAME_PATTERN "%.20s_%.200s"
 #endif
 
-const char *_PyImport_DynLoadFiletab[] = {SHLIB_EXT, NULL};
+const char *_PyImport_DynLoadFiletab[] = {SHLIB_EXT, ".sl", NULL};
 
 dl_funcptr _PyImport_FindSharedFuncptr(const char *prefix,
                                        const char *shortname,