]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-135906: Use `_PyObject_CAST` in internal headers (GH-135892)
authorCharlie Lin <tuug@gmx.us>
Mon, 7 Jul 2025 16:56:14 +0000 (16:56 +0000)
committerGitHub <noreply@github.com>
Mon, 7 Jul 2025 16:56:14 +0000 (12:56 -0400)
commitfe187fae8d8321f1b8d3c9560a35efe904de4217
treebe28db0b9507b219c440856a25bb07765fc40f04
parent0b62523959672509cbd705c926d426c7af1ebe40
 gh-135906: Use `_PyObject_CAST` in internal headers (GH-135892)

Fixes build errors encountered in python-greenlet/greenlet#450 when building greenlet on the free-threaded build.

---------

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Include/internal/pycore_object.h
Include/internal/pycore_stackref.h
Misc/NEWS.d/next/C_API/2025-06-25-01-03-10.gh-issue-135906.UBrCWq.rst [new file with mode: 0644]