Skip to content

[3.14] gh-158918: Reduce C stack usage of _PyModule_IsPossiblyShadowing. (GH-158919) - #159064

Open
miss-islington wants to merge 1 commit into
python:3.14from
miss-islington:backport-53be7d4-3.14
Open

miss-islington wants to merge 1 commit into
python:3.14from
miss-islington:backport-53be7d4-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Reduce C stack usage of _PyModule_IsPossiblyShadowing, which could
potentially cause stack overflows during module attribute access while
deeply recursing in agressively optimized builds.
(cherry picked from commit 53be7d4)

Co-authored-by: T. Wouters thomas@python.org

…ng`. (pythonGH-158919)

Reduce C stack usage of `_PyModule_IsPossiblyShadowing`, which could
potentially cause stack overflows during module attribute access while
deeply recursing in agressively optimized builds.
(cherry picked from commit 53be7d4)

Co-authored-by: T. Wouters <thomas@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants