Skip to content

[3.14] gh-130396: Move PYOS_LOG2_STACK_MARGIN to internal headers (GH-135928)#136173

Merged
vstinner merged 1 commit intopython:3.14from
miss-islington:backport-28940e8-3.14
Jul 1, 2025
Merged

[3.14] gh-130396: Move PYOS_LOG2_STACK_MARGIN to internal headers (GH-135928)#136173
vstinner merged 1 commit intopython:3.14from
miss-islington:backport-28940e8-3.14

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jul 1, 2025

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 28940e8)

Co-authored-by: Victor Stinner [email protected]

…honGH-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 28940e8)

Co-authored-by: Victor Stinner <[email protected]>
@vstinner vstinner enabled auto-merge (squash) July 1, 2025 13:18
@vstinner vstinner merged commit f152d60 into python:3.14 Jul 1, 2025
52 checks passed
@miss-islington miss-islington deleted the backport-28940e8-3.14 branch January 2, 2026 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment