]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-146636: PEP 803: add Py_TARGET_ABI3T and .abi3t.so extension (GH-146637)
authorPetr Viktorin <encukou@gmail.com>
Wed, 1 Apr 2026 14:14:59 +0000 (16:14 +0200)
committerGitHub <noreply@github.com>
Wed, 1 Apr 2026 14:14:59 +0000 (16:14 +0200)
commit245232400135ade421f656edcf665a7185c0c5c2
treebe68acd5baeb58eb3952670724ea6acbd8970417
parent08c5d3d4234e87497f47c7ecd70616b4e24ed765
gh-146636: PEP 803: add Py_TARGET_ABI3T and .abi3t.so extension (GH-146637)

- Add Py_TARGET_ABI3T macro.
- Add ".abi3t.so" to importlib EXTENSION_SUFFIXES.
- Remove ".abi3.so" from importlib EXTENSION_SUFFIXES on Free Threading.
- Adjust tests

This is part of the implementation for PEP-803.
Detailed documentation to come later.

Co-authored-by: Nathan Goldbaum <nathan.goldbaum@gmail.com>
Doc/c-api/stable.rst
Include/Python.h
Include/patchlevel.h
Lib/test/test_cext/__init__.py
Lib/test/test_cext/setup.py
Lib/test/test_importlib/extension/test_finder.py
Python/dynload_shlib.c