Skip to content

Conversation

@encukou
Copy link
Member

@encukou encukou 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
Member Author

encukou commented Oct 20, 2025

Closing in favour of #139668

@encukou encukou closed this Oct 20, 2025
Sign up for free to 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