diff options
author | Florin Spătar <florin.spatar@gmail.com> | 2021-09-08 12:43:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-08 12:43:00 (GMT) |
commit | 2396fa6537d79554ac694dbd2b0b30eeb3476c80 (patch) | |
tree | 0713cb4a17470c5b1940b7e34a44e09c3e8054d8 | |
parent | c11956a8bddd75f02ccc7b4da7e4d8123e1f3c5f (diff) | |
download | cpython-2396fa6537d79554ac694dbd2b0b30eeb3476c80.zip cpython-2396fa6537d79554ac694dbd2b0b30eeb3476c80.tar.gz cpython-2396fa6537d79554ac694dbd2b0b30eeb3476c80.tar.bz2 |
bpo-44959: Add fallback to extension modules with '.sl' suffix on HP-UX (GH-27857)
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2021-09-08-08-29-41.bpo-44959.OSwwPf.rst | 1 | ||||
-rw-r--r-- | Python/dynload_hpux.c | 2 |
2 files changed, 2 insertions, 1 deletions
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 0000000..02e11ae --- /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 e36d608..a533730 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, |