]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-135906: Use `_PyObject_CAST` in internal headers (GH-135892) (GH-136392)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 7 Jul 2025 17:21:28 +0000 (19:21 +0200)
committerGitHub <noreply@github.com>
Mon, 7 Jul 2025 17:21:28 +0000 (17:21 +0000)
commitc72699086fe49ed127c1276e96027729381ea8c7
tree4581c020ee21116d4812075f414ee78e7e5dc7fb
parent5a7d266fcbb35f772de4f20850710f03c06b8793
[3.14] gh-135906: Use `_PyObject_CAST` in internal headers (GH-135892) (GH-136392)

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.

---------
(cherry picked from commit fe187fae8d8321f1b8d3c9560a35efe904de4217)

Co-authored-by: Charlie Lin <tuug@gmx.us>
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]