]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-139653: Add PyUnstable_ThreadState_SetStackProtection() (#139668)
authorVictor Stinner <vstinner@python.org>
Thu, 13 Nov 2025 16:30:50 +0000 (17:30 +0100)
committerGitHub <noreply@github.com>
Thu, 13 Nov 2025 16:30:50 +0000 (17:30 +0100)
commitb99db92dde38b17c3fba3b5db76a383ceddfce49
tree16bf1d65c5547942cbfe19d31625ed576e12eba6
parentd7862e9b1bd8f82e41c4f2c4dad31e15707d856f
gh-139653: Add PyUnstable_ThreadState_SetStackProtection() (#139668)

Add PyUnstable_ThreadState_SetStackProtection() and
PyUnstable_ThreadState_ResetStackProtection() functions
to set the stack base address and stack size of a Python
thread state.

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Doc/c-api/exceptions.rst
Doc/c-api/init.rst
Doc/whatsnew/3.15.rst
Include/cpython/pystate.h
Include/internal/pycore_pythonrun.h
Include/internal/pycore_tstate.h
Misc/NEWS.d/next/C_API/2025-10-06-22-17-47.gh-issue-139653.6-1MOd.rst [new file with mode: 0644]
Modules/_testinternalcapi.c
Python/ceval.c
Python/pystate.c