Skip to content

gh-143191: Use _PyOS_MIN_STACK_SIZE in _thread.stack_size() - #143601

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:stack_size
Jan 9, 2026
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:stack_size

Conversation

@vstinner

@vstinner vstinner commented Jan 9, 2026 •

Copy link
Copy Markdown
Member

The stack size must be at least _PyOS_MIN_STACK_SIZE+SYSTEM_PAGE_SIZE bytes.

The stack size must be at least _PyOS_MIN_STACK_SIZE+SYSTEM_PAGE_SIZE
bytes.
@vstinner
vstinner merged commit ba10100 into python:main Jan 9, 2026
@vstinner
vstinner deleted the stack_size branch January 9, 2026 15:08
@miss-islington-app

Copy link
Copy Markdown

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 9, 2026
…thonGH-143601)

The stack size must be at least _PyOS_MIN_STACK_SIZE+SYSTEM_PAGE_SIZE
bytes.
(cherry picked from commit ba10100)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-app

bedevere-app Bot commented Jan 9, 2026

Copy link
Copy Markdown

GH-143611 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Jan 9, 2026
@vstinner

vstinner commented Jan 9, 2026

Copy link
Copy Markdown
Member Author

Merged, thanks for the review @kumaraditya303.

vstinner added a commit that referenced this pull request Jan 9, 2026
…H-143601) (#143611)

gh-143191: Use _PyOS_MIN_STACK_SIZE in _thread.stack_size() (GH-143601)

The stack size must be at least _PyOS_MIN_STACK_SIZE+SYSTEM_PAGE_SIZE
bytes.
(cherry picked from commit ba10100)

Co-authored-by: Victor Stinner <vstinner@python.org>
reidenong pushed a commit to reidenong/cpython that referenced this pull request Jan 12, 2026
…thon#143601)

The stack size must be at least _PyOS_MIN_STACK_SIZE+SYSTEM_PAGE_SIZE
bytes.
thunder-coding pushed a commit to thunder-coding/cpython that referenced this pull request Feb 15, 2026
…thon#143601)

The stack size must be at least _PyOS_MIN_STACK_SIZE+SYSTEM_PAGE_SIZE
bytes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants