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

[3.14] gh-158810: Fix Py_ARRAY_LENGTH() macro on C++ by vstinner · Pull Request #159317 · python/cpython · GitHub

Repository navigation

[3.14] gh-158810: Fix Py_ARRAY_LENGTH() macro on C++ - #159317

Merged
vstinner merged 3 commits into
python:3.14from
vstinner:array_len14
Oct 13, 2026
Merged

vstinner merged 3 commits into
python:3.14from
vstinner:array_len14

Conversation

vstinner commented Oct 13, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

…9315)

* pythongh-158810: Fix Py_ARRAY_LENGTH() macro on C++ (python#158812)

(cherry picked from commit b2bfbce)

* pythongh-158810: Use _Py_TYPEOF in Py_ARRAY_LENGTH() (python#158838)

Fix the compiler warning "extension used" when building test_cext
with clang.

* test_cext no longer overrides the CC environment variable if it's
  already defined.
* test_cext now also logs __STRICT_ANSI__ macro.

(cherry picked from commit 85c03d4)

* Add Py_SETREF/XSETREF tests to test_cext

(cherry picked from commit 152185f)

Copy link
Copy Markdown

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

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F159317%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 Oct 13, 2026

Copy link
Copy Markdown
Member Author

buildbot/AMD64 CentOS9 NoGIL PR

  /home/buildbot/buildarea/pull_request.itamaro-centos-aws.nogil/build/Include/Python.h:52:4: error: #error "The limited API is not currently supported in the free-threaded build"
     52 | #  error "The limited API is not currently supported in the free-threaded build"
        |    ^~~~~

Oh, the limited C API must not be tested with Free Threading on Python 3.14.

vstinner enabled auto-merge (squash) October 13, 2026 22:27
vstinner merged commit 931322b into python:3.14 Oct 13, 2026
49 checks passed
vstinner deleted the array_len14 branch October 13, 2026 22:55
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL