]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-130396: Move PYOS_LOG2_STACK_MARGIN to internal headers (GH-135928) (#136173)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 1 Jul 2025 13:44:32 +0000 (15:44 +0200)
committerGitHub <noreply@github.com>
Tue, 1 Jul 2025 13:44:32 +0000 (13:44 +0000)
commitf152d60b68ae473306f6087c1b8b40922444f801
tree81a3cad819ff603d1de2cb2082e68108aadc452f
parentdf4e87b153622b9fc5028de0050a8c5678894bc5
[3.14] gh-130396: Move PYOS_LOG2_STACK_MARGIN to internal headers (GH-135928) (#136173)

gh-130396: Move PYOS_LOG2_STACK_MARGIN to internal headers (GH-135928)

Move PYOS_LOG2_STACK_MARGIN, PYOS_STACK_MARGIN,
PYOS_STACK_MARGIN_BYTES and PYOS_STACK_MARGIN_SHIFT macros to
pycore_pythonrun.h internal header. Add underscore (_) prefix to the
names to make them private. Rename _PYOS to _PyOS.
(cherry picked from commit 28940e8e4884eb3444a8ea15a5634f76b154d7ed)

Co-authored-by: Victor Stinner <vstinner@python.org>
Include/internal/pycore_pystate.h
Include/internal/pycore_pythonrun.h
Include/pythonrun.h
Modules/_testinternalcapi.c
Python/ceval.c