]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-151546: Fix stack limits on musl (#151548) (#151583)
authorVictor Stinner <vstinner@python.org>
Wed, 17 Jun 2026 09:13:40 +0000 (11:13 +0200)
committerGitHub <noreply@github.com>
Wed, 17 Jun 2026 09:13:40 +0000 (11:13 +0200)
commita5c5edddbc3ca7192c057f65fb3a8ff4ea360f96
tree4f580ca52d2651cfbe14089fae6e326170c7e208
parentff6e973c3bbe419ff8aef16b05a1c77749c073c2
[3.15] gh-151546: Fix stack limits on musl (#151548) (#151583)

gh-151546: Fix stack limits on musl (#151548)

If the thread stack size is set by linker flags, pass the stack size
to Python/ceval.c via the new _Py_LINKER_THREAD_STACK_SIZE variable
to set Py_C_STACK_SIZE macro.

(cherry picked from commit 9a61d1c0c8ebe21277c0a84abf6000049540464f)
Misc/NEWS.d/next/Core_and_Builtins/2026-06-16-17-23-37.gh-issue-151546.LhiaZz.rst [new file with mode: 0644]
Python/ceval.c
configure
configure.ac
pyconfig.h.in