← 返回首页
WIP: gh-91371: Add PyFrameStack C API by vstinner · Pull Request #119596 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

WIP: gh-91371: Add PyFrameStack C API#119596

Closed
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:pyframestack
Closed

WIP: gh-91371: Add PyFrameStack C API#119596
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:pyframestack

Conversation

vstinner commented May 27, 2024
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

vstinner commented May 27, 2024
edited
Loading

Copy link
Copy Markdown
Member Author

Stupid example which does nothing:

import _testinternalcapi framestack = _testinternalcapi.pyframestack() framestack.swap() del framestack

vstinner closed this Jun 17, 2024
vstinner deleted the pyframestack branch June 17, 2024 20:10

Copy link
Copy Markdown
Member Author

greenlet needs to access members which are saved, it doesn't work with an opaque structure.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Footer

© 2026 GitHub, Inc.