Uh oh!
There was an error while loading. Please reload this page.
[3.14] gh-144490: Test the internal C API in test_cext - #144678
Merged
Conversation
Backport changes from the main branch. Test also datetime.h in test_cppext.
This comment was marked as outdated.
This comment was marked as outdated.
bedevere-bot
commented
Feb 10, 2026
🤖 New build scheduled with the buildbot fleet by @vstinner for commit c407660 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F144678%2Fmerge If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
vstinner
commented
Feb 10, 2026
MemberAuthor
Sadly, test_cppext still fails on macOS. Once #144685 will be merged, I will have to backport this fix as well. |
Don't test internal header files including mimalloc on macOS since mimalloc emits compiler warnings: In file included from extension.cpp:21: In file included from Include/internal/pycore_backoff.h:15: In file included from Include/internal/pycore_interp_structs.h:15: In file included from Include/internal/pycore_tstate.h:14: In file included from Include/internal/pycore_mimalloc.h:43: Include/internal/mimalloc/mimalloc.h:464:85: error: defaulted function definitions are a C++11 extension [-Werror,-Wc++11-extensions] mi_stl_allocator() mi_attr_noexcept = default; ^ Include/internal/mimalloc/mimalloc.h:465:85: error: defaulted function definitions are a C++11 extension [-Werror,-Wc++11-extensions] mi_stl_allocator(const mi_stl_allocator&) mi_attr_noexcept = default; Log also CXX and CXXFLAGS env vars in test_cppext. Log also CPPFLAGS in test_cext.
vstinner
marked this pull request as ready for review
February 10, 2026 19:39
vstinner
enabled auto-merge (squash)
February 10, 2026 19:41
vstinner
commented
Feb 10, 2026
MemberAuthor
All buildbot workers passed successfully. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport changes from the main branch.
Test also datetime.h in test_cppext.