Skip to content

Conversation

@encukou
Copy link
Member

@encukouencukou commented Oct 6, 2025

Fall back to _Py_get_machine_stack_pointer if platform-specific API doesn't give us a stack that we're currently in. This might happen if some bespoke stack switching mechanism is in use.

With this, gh-139653 should be solved if the user calls _Py_InitializeRecursionLimits after each jump_fcontext.

@encukou
Copy link
MemberAuthor

Closing in favour of #139668

@encukouencukou closed this Oct 20, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@encukou