Skip to content

Commit 25cc5ae

Browse files
committed
Order the multiarch-tagged extensions first
1 parent 735f8af commit 25cc5ae

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Doc/whatsnew/3.16.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ Other language changes
7979
filename, e.g. ``foo.abi3-x86-64-linux-gnu.so``.
8080
This permits stable ABI extensions for multiple architectures to be
8181
co-installed into the same directory, without clashing with each
82-
other, as regular dynamic extensions do. Build tools will not generate
83-
these multiarch tagged filenames, by default, while still supporting
84-
older Python versions that don't recognize these filenames.
82+
other, as regular dynamic extensions do. Build may tools will generate
83+
these multiarch tagged filenames, by default, when targeting
84+
compatibility with at least Python 3.15.
8585
(Contributed by Stefano Rivera in :gh:`122931`.)
8686

8787

Python/dynload_shlib.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ const char *_PyImport_DynLoadFiletab[] = {
4646
"." ALT_SOABI ".so",
4747
#endif
4848
#ifndef Py_GIL_DISABLED
49-
".abi" PYTHON_ABI_STRING ".so",
5049
#ifdef SOABI_PLATFORM
5150
".abi" PYTHON_ABI_STRING "-" SOABI_PLATFORM ".so",
5251
#endif /* SOABI_PLATFORM */
52+
".abi" PYTHON_ABI_STRING ".so",
5353
#endif /* Py_GIL_DISABLED */
54-
".abi" PYTHON_ABI_STRING "t.so",
5554
#ifdef SOABI_PLATFORM
5655
".abi" PYTHON_ABI_STRING "t-" SOABI_PLATFORM ".so",
5756
#endif /* SOABI_PLATFORM */
57+
".abi" PYTHON_ABI_STRING "t.so",
5858
".so",
5959
#endif /* __CYGWIN__ */
6060
NULL,

0 commit comments

Comments
 (0)