]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-151546: Fix stack limits on musl (#151548) (#151583) (#151591)
authorVictor Stinner <vstinner@python.org>
Wed, 17 Jun 2026 09:41:24 +0000 (11:41 +0200)
committerGitHub <noreply@github.com>
Wed, 17 Jun 2026 09:41:24 +0000 (09:41 +0000)
commitc005251a2d594de8227dfe8d1f81ca1672fbe48a
treedbf62e5034a6c959542d313f61aa362a93c7fca9
parent551667248da43b1d3548c3fb3964fdf508ea6a3e
[3.14] gh-151546: Fix stack limits on musl (#151548) (#151583) (#151591)

[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)
(cherry picked from commit a5c5edddbc3ca7192c057f65fb3a8ff4ea360f96)
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