]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-139231: Fix estimation of available stack size for recursion limit on macOS (GH...
authorRok Mandeljc <rok.mandeljc@gmail.com>
Wed, 24 Sep 2025 10:57:00 +0000 (12:57 +0200)
committerGitHub <noreply@github.com>
Wed, 24 Sep 2025 10:57:00 +0000 (11:57 +0100)
commit7016044de919fa2f14f7c0e0d15ac076b00f16a0
tree5b474d089d2f110f9dd6135ef4990624fce35566
parenta5e056235075ebd3e7eef1c9fef264bca3461a2d
gh-139231: Fix estimation of available stack size for recursion limit on macOS (GH-139232)

Use `pthread_get_stackaddr_np()` and `pthread_get_stacksize_np()` to determine the stack address and size.
Python/ceval.c