◐ Shell
reader mode source ↗
Skip to content

[3.14][3.15] gh-151546: Fix stack limits on musl (#151548) (#151583)#151591

Merged
vstinner merged 1 commit into
python:3.14from
vstinner:stack_size_checks14
Jun 17, 2026
Merged

[3.14][3.15] gh-151546: Fix stack limits on musl (#151548) (#151583)#151591
vstinner merged 1 commit into
python:3.14from
vstinner:stack_size_checks14

Conversation

@vstinner

Copy link
Copy Markdown
Member

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 9a61d1c) (cherry picked from commit a5c5edd)

…hon#151583)

pythongh-151546: Fix stack limits on musl (python#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 9a61d1c)
(cherry picked from commit a5c5edd)
@vstinner vstinner enabled auto-merge (squash) June 17, 2026 09:27
Hide details View details @vstinner vstinner merged commit c005251 into python:3.14 Jun 17, 2026
55 of 58 checks passed
@vstinner vstinner deleted the stack_size_checks14 branch June 17, 2026 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant