FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-139653: If platform API doesn't give the current stack, use generic fallback by encukou · Pull Request #139667 · python/cpython · GitHub

/ cpython Public

gh-139653: If platform API doesn't give the current stack, use generic fallback - #139667

Closed
encukou wants to merge 2 commits into
python:mainfrom
encukou:stack-reset-guard-3
Closed

gh-139653: If platform API doesn't give the current stack, use generic fallback#139667
encukou wants to merge 2 commits into
python:mainfrom
encukou:stack-reset-guard-3

Conversation

encukou commented Oct 6, 2025
edited
Loading

Copy link
Copy Markdown
Member

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 commented Oct 20, 2025

Copy link
Copy Markdown
Member Author

Closing in favour of #139668

encukou closed this Oct 20, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL