[3.14] gh-139231: Fix estimation of available stack size for recursion limit on macOS (GH-139232) by miss-islington · Pull Request #139290 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Conversation
Contributor
Use pthread_get_stackaddr_np() and pthread_get_stacksize_np() to determine the stack address and size.
(cherry picked from commit 7016044)
Co-authored-by: Rok Mandeljc rok.mandeljc@gmail.com
… limit on macOS (pythonGH-139232) Use `pthread_get_stackaddr_np()` and `pthread_get_stacksize_np()` to determine the stack address and size. (cherry picked from commit 7016044) Co-authored-by: Rok Mandeljc <rok.mandeljc@gmail.com>
miss-islington
requested a review
from markshannon
as a code owner
bedevere-app
Bot
added
the
awaiting review
label
bedevere-app
Bot
mentioned this pull request
bedevere-app
Bot
added
the
skip news
label
bedevere-app
Bot
mentioned this pull request
markshannon
commented
Sep 24, 2025
markshannon commented
Member
This is incorrect, as it doesn't add sufficient margin for the hard limit.
markshannon
closed this
miss-islington
deleted the
backport-7016044-3.14
branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment