FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.14] gh-144490: Test the internal C API in test_cext by vstinner · Pull Request #144678 · python/cpython · GitHub

/ cpython Public

[3.14] gh-144490: Test the internal C API in test_cext - #144678

Merged
vstinner merged 2 commits into
python:3.14from
vstinner:test_cext_internal14
Feb 10, 2026
Merged

[3.14] gh-144490: Test the internal C API in test_cext#144678
vstinner merged 2 commits into
python:3.14from
vstinner:test_cext_internal14

Conversation

vstinner commented Feb 10, 2026
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Backport changes from the main branch.

Test also datetime.h in test_cppext.

Backport changes from the main branch.

Test also datetime.h in test_cppext.

This comment was marked as outdated.

vstinner added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Feb 10, 2026

Copy link
Copy Markdown

🤖 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.

bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Feb 10, 2026

Copy link
Copy Markdown
Member Author

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

Copy link
Copy Markdown
Member Author

All buildbot workers passed successfully.

vstinner merged commit 815f21b into python:3.14 Feb 10, 2026
47 checks passed
vstinner deleted the test_cext_internal14 branch February 10, 2026 20:04
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 free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL