]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-143191: Use _PyOS_MIN_STACK_SIZE in _thread.stack_size() (GH-143601) (...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 9 Jan 2026 15:34:39 +0000 (16:34 +0100)
committerGitHub <noreply@github.com>
Fri, 9 Jan 2026 15:34:39 +0000 (15:34 +0000)
commit0e2ed4b0e1ae36bd7dbbcb210f686deffc10f14e
treef71782640f1f89e62096ed8d4b08d3b3d85ec656
parent426683e7b72cf0f7fa7824a2ddcd348ff0f7e6c7
[3.14] gh-143191: Use _PyOS_MIN_STACK_SIZE in _thread.stack_size() (GH-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 ba10100c3931b18812b82d7124e2238f01927910)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_thread.py
Misc/NEWS.d/next/Library/2026-01-09-13-07-22.gh-issue-143191.PPR_vW.rst [new file with mode: 0644]
Modules/_threadmodule.c