Uh oh!
There was an error while loading. Please reload this page.
gh-146636: PEP 803: add Py_TARGET_ABI3T and .abi3t.so extension - #146637
Conversation
Uh oh!
There was an error while loading. Please reload this page.
bedevere-bot
commented
Mar 31, 2026
🤖 New build scheduled with the buildbot fleet by @encukou for commit db32325 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F146637%2Fmerge If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
Uh oh!
There was an error while loading. Please reload this page.
vstinner
left a comment
There was a problem hiding this comment.
LGTM.
Please document changes in the commit message:
- Add Py_TARGET_ABI3T macro.
- Add ".abi3t.so" to importlib EXTENSION_SUFFIXES.
- Remove ".abi3.so" from importlib EXTENSION_SUFFIXES on Free Threading.
vstinner
commented
Apr 1, 2026
I tested manually building test_cext with Py_TARGET_ABI3T and rename the extension to Output: It works as expected (I can import the C extension named Note: I used a debug build of Python which is not good to use the stable ABI, but it was for a quick test :-) |
Uh oh!
There was an error while loading. Please reload this page.
…pythonGH-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>
…pythonGH-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>
Uh oh!
There was an error while loading. Please reload this page.