[Python-checkins] bpo-44959: Add fallback to extension modules with '.sl' suffix on HP-UX (GH-27857)

miss-islington webhook-mailer at python.org
Fri Oct 22 07:08:54 EDT 2021


https://github.com/python/cpython/commit/aa8c3446c085175e65e736b0d2e32719c00004d2
commit: aa8c3446c085175e65e736b0d2e32719c00004d2
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2021-10-22T04:08:50-07:00
summary:

bpo-44959: Add fallback to extension modules with '.sl' suffix on HP-UX (GH-27857)

(cherry picked from commit 2396fa6537d79554ac694dbd2b0b30eeb3476c80)

Co-authored-by: Florin Spătar <florin.spatar at gmail.com>

files:
A Misc/NEWS.d/next/Core and Builtins/2021-09-08-08-29-41.bpo-44959.OSwwPf.rst
M 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
index 0000000000000..02e11ae94e430
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2021-09-08-08-29-41.bpo-44959.OSwwPf.rst	
@@ -0,0 +1 @@
+Added fallback to extension modules with '.sl' suffix on HP-UX
\ No newline at end of file
diff --git a/Python/dynload_hpux.c b/Python/dynload_hpux.c
index e36d608c6dca4..a53373038ed85 100644
--- a/Python/dynload_hpux.c
+++ b/Python/dynload_hpux.c
@@ -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,



More information about the Python-checkins mailing list