GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-135906: Test more internal headers in test_cppext by vstinner · Pull Request #144751 · python/cpython

Conversation

@vstinner

@vstinner vstinner commented Feb 12, 2026 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Test more internal headers in test_cext and test_cppext.

  • Issue: Use _PyObject_CAST in internal headers #135906

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@vstinner
pythongh-135906: Test more internal headers in test_cppext
e16fc53
Test more internal headers in test_cext and test_cppext.
@vstinner vstinner added the skip news label Feb 12, 2026
@bedevere-app bedevere-app Bot added the awaiting core review label Feb 12, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Feb 12, 2026
Use _PyObject_CAST in internal headers #135906
Closed
@vstinner vstinner added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Feb 12, 2026
@bedevere-bot

bedevere-bot commented Feb 12, 2026

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @vstinner for commit e16fc53 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F144751%2Fmerge

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Feb 12, 2026
@vstinner
vstinner merged commit b488f33 into python:main Feb 12, 2026
112 of 114 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@vstinner
vstinner deleted the test_cppext_internal branch February 12, 2026 18:40
@bedevere-app bedevere-app Bot removed the awaiting core review label Feb 12, 2026
vstinner added a commit to vstinner/cpython that referenced this pull request Feb 12, 2026
@vstinner
pythongh-135906: Test more internal headers in test_cext/test_cppext (p…
b868f86
…ython#144751)

(cherry picked from commit b488f33)
@bedevere-bot

bedevere-bot commented Feb 12, 2026

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot s390x RHEL9 LTO + PGO 3.x (tier-3) has failed when building commit b488f33.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1578/builds/4124) and take a look at the build logs.
  4. Check if the failure is related to this commit (b488f33) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/1578/builds/4124

Summary of the results of the build (if available):

Click to see traceback logs
remote: Enumerating objects: 8, done.        
remote: Counting objects:  16% (1/6)        
remote: Counting objects:  33% (2/6)        
remote: Counting objects:  50% (3/6)        
remote: Counting objects:  66% (4/6)        
remote: Counting objects:  83% (5/6)        
remote: Counting objects: 100% (6/6)        
remote: Counting objects: 100% (6/6), done.        
remote: Compressing objects:  33% (1/3)        
remote: Compressing objects:  66% (2/3)        
remote: Compressing objects: 100% (3/3)        
remote: Compressing objects: 100% (3/3), done.        
remote: Total 8 (delta 3), reused 3 (delta 3), pack-reused 2 (from 1)        
From https://github.com/python/cpython
 * branch                    main       -> FETCH_HEAD
Note: switching to 'b488f338cf058f46cbf0255023ca1c1669b0eb44'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at b488f338cf0 gh-135906: Test more internal headers in test_cext/test_cppext (#144751)
Switched to and reset branch 'main'

find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
find: ‘build’: No such file or directory
make[2]: [Makefile:3444: clean-retain-profile] Error 1 (ignored)
lto-wrapper: warning: using serial compilation of 4 LTRANS jobs
lto-wrapper: warning: using serial compilation of 4 LTRANS jobs
lto-wrapper: warning: using serial compilation of 6 LTRANS jobs
lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper: warning: using serial compilation of 3 LTRANS jobs
lto-wrapper: warning: using serial compilation of 4 LTRANS jobs
lto-wrapper: warning: using serial compilation of 3 LTRANS jobs
lto-wrapper: warning: using serial compilation of 3 LTRANS jobs
lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper: warning: using serial compilation of 3 LTRANS jobs
lto-wrapper: warning: using serial compilation of 7 LTRANS jobs
lto-wrapper: warning: using serial compilation of 4 LTRANS jobs
lto-wrapper: warning: using serial compilation of 3 LTRANS jobs
lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper: warning: using serial compilation of 3 LTRANS jobs
lto-wrapper: warning: using serial compilation of 128 LTRANS jobs
lto-wrapper: warning: using serial compilation of 6 LTRANS jobs
lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper: warning: using serial compilation of 128 LTRANS jobs
lto-wrapper: warning: using serial compilation of 128 LTRANS jobs
during IPA pass: profile
./Modules/posixmodule.c: In function ‘fill_time’:
./Modules/posixmodule.c:18833:1: internal compiler error: Segmentation fault
18833 | }
      | ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/cc3zWzGo.out file, please attach this to your bugreport.
make[1]: *** [Makefile:3890: Modules/posixmodule.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Python/ceval.c: In function ‘_Py_BuildMap_StackRefSteal’:
Python/ceval.c:992:11: warning: ‘args_o_temp’ may be used uninitialized [-Wmaybe-uninitialized]
  992 |     res = _PyDict_FromItems(
      |           ^~~~~~~~~~~~~~~~~~
  993 |         args_o, 2,
      |         ~~~~~~~~~~
  994 |         args_o+1, 2,
      |         ~~~~~~~~~~~~
  995 |         half_args
      |         ~~~~~~~~~
  996 |     );
      |     ~      
In file included from Python/ceval.h:11,
                 from Python/ceval.c:3:
./Include/internal/pycore_dict.h:300:23: note: by argument 3 of type ‘struct PyObject * const *’ to ‘_PyDict_FromItems’ declared here
  300 | PyAPI_FUNC(PyObject *)_PyDict_FromItems(
      |                       ^~~~~~~~~~~~~~~~~
In file included from Python/ceval.c:696:
Python/ceval.c:987:52: note: ‘args_o_temp’ declared here
  987 |     STACKREFS_TO_PYOBJECTS(arguments, half_args*2, args_o);
      |                                                    ^~~~~~
Python/ceval.c: In function ‘_PyCallMethodDescriptorFast_StackRefSteal’:
Python/ceval.c:879:11: warning: ‘args_o_temp’ may be used uninitialized [-Wmaybe-uninitialized]
  879 |     res = cfunc(self, (args_o + 1), total_args - 1);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Python/ceval.c:879:11: note: by argument 2 of type ‘struct PyObject * const *’ to ‘struct PyObject * <Td5d> (struct PyObject *, struct PyObject * const *, Py_ssize_t)’
In file included from Python/ceval.c:696:
Python/ceval.c:870:51: note: ‘args_o_temp’ declared here
  870 |     STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
      |                                                   ^~~~~~
Python/ceval.c:879:11: warning: ‘_232’ may be used uninitialized [-Wmaybe-uninitialized]
  879 |     res = cfunc(self, (args_o + 1), total_args - 1);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Python/ceval.c:879:11: note: by argument 2 of type ‘struct PyObject * const *’ to ‘struct PyObject * <Td5d> (struct PyObject *, struct PyObject * const *, Py_ssize_t)’
In file included from Python/ceval.c:696:
Python/ceval.c:870:51: note: ‘args_o_temp’ declared here
  870 |     STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
      |                                                   ^~~~~~
Python/ceval.c: In function ‘_PyCallMethodDescriptorFastWithKeywords_StackRefSteal’:
Python/ceval.c:913:11: warning: ‘args_o_temp’ may be used uninitialized [-Wmaybe-uninitialized]
  913 |     res = cfunc(self, (args_o + 1), total_args-1, NULL);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Python/ceval.c:913:11: note: by argument 2 of type ‘struct PyObject * const *’ to ‘struct PyObject * <Td63> (struct PyObject *, struct PyObject * const *, Py_ssize_t, struct PyObject *)’
In file included from Python/ceval.c:696:
Python/ceval.c:903:51: note: ‘args_o_temp’ declared here
  903 |     STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
      |                                                   ^~~~~~
Python/ceval.c:913:11: warning: ‘_232’ may be used uninitialized [-Wmaybe-uninitialized]
  913 |     res = cfunc(self, (args_o + 1), total_args-1, NULL);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Python/ceval.c:913:11: note: by argument 2 of type ‘struct PyObject * const *’ to ‘struct PyObject * <Td63> (struct PyObject *, struct PyObject * const *, Py_ssize_t, struct PyObject *)’
In file included from Python/ceval.c:696:
Python/ceval.c:903:51: note: ‘args_o_temp’ declared here
  903 |     STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
      |                                                   ^~~~~~
make: *** [Makefile:1042: profile-opt] Error 2
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

vstinner added a commit that referenced this pull request Feb 13, 2026
@vstinner
[3.14] gh-135906: Test more internal headers in test_cext/test_cppext (…
c11e70a
…#144758)

* gh-141563: Enable test_cppext internal C API tests on macOS (#144711)

Build the C API in C++11 mode on macOS.

(cherry picked from commit c6e418d)

* gh-135906: Test more internal headers in test_cext/test_cppext (#144751)

(cherry picked from commit b488f33)
thunder-coding pushed a commit to thunder-coding/cpython that referenced this pull request Feb 15, 2026
@vstinner @thunder-coding
pythongh-135906: Test more internal headers in test_cext/test_cppext (p…
0c78c73
…ython#144751)
brijkapadia pushed a commit to brijkapadia/cpython that referenced this pull request Feb 28, 2026
@vstinner @brijkapadia
pythongh-135906: Test more internal headers in test_cext/test_cppext (p…
66741f7
…ython#144751)
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
@vstinner @ljfp
pythongh-135906: Test more internal headers in test_cext/test_cppext (p…
1c16ffa
…ython#144751)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@vstinner @bedevere-bot
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.