Skip to content

Commit b4a6389

Browse files
committed
Keep .abi3t.so, as requested by the SC
1 parent 47116a4 commit b4a6389

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

Lib/test/test_importlib/extension/test_finder.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ def test_abi3_extension_suffixes(self):
7575
self.assertIn(".abi3.so", suffixes)
7676
if platform:
7777
self.assertIn(f".abi3t-{platform}.so", suffixes)
78-
else:
79-
self.assertIn(".abi3t.so", suffixes)
78+
self.assertIn(".abi3t.so", suffixes)
8079

8180

8281
(Frozen_FinderTests,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Linux: Include multiarch tuples in ``abi3t`` stable ABI C extension filenames, e.g. ``foo.abi3t-x86-64-linux-gnu.so``.
1+
Linux: Include multiarch tuples in ``abi3t`` stable ABI C extension filenames, e.g. ``foo.abi3t-x86-64-linux-gnu.so``, by default.

Python/dynload_shlib.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@ const char *_PyImport_DynLoadFiletab[] = {
5050
#endif /* Py_GIL_DISABLED */
5151
#ifdef SOABI_PLATFORM
5252
".abi" PYTHON_ABI_STRING "t-" SOABI_PLATFORM ".so",
53-
#else
54-
".abi" PYTHON_ABI_STRING "t.so",
5553
#endif /* SOABI_PLATFORM */
54+
".abi" PYTHON_ABI_STRING "t.so",
5655
".so",
5756
#endif /* __CYGWIN__ */
5857
NULL,

0 commit comments

Comments
 (0)