◐ Shell
reader mode source ↗
Skip to content

bpo-46836: Add Doc/c-api/frame.rst#32051

Merged
vstinner merged 5 commits into
python:mainfrom
vstinner:frame_doc
Mar 23, 2022
Merged

bpo-46836: Add Doc/c-api/frame.rst#32051
vstinner merged 5 commits into
python:mainfrom
vstinner:frame_doc

Conversation

@vstinner

@vstinner vstinner commented Mar 22, 2022

Copy link
Copy Markdown
Member

Reorganize the documentation of the PyFrameObject C API.

https://bugs.python.org/issue46836

Reorganize the documentation of the PyFrameObject C API.
@vstinner

Copy link
Copy Markdown
Member Author

My previous attempt to document PyFrameObject, in 2013: https://bugs.python.org/issue19431

@gvanrossum

Copy link
Copy Markdown
Member

@markshannon markshannon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide comment

Thanks, it makes sense to more all the Frame API docs to one place.

I'd really like discourage extension code from accessing the internals of the frame, as the integrity of the VM relies on it in subtle ways.

@markshannon

Copy link
Copy Markdown
Member

@vstinner
I'd like to get at least a minimal version of this merged, so I have somewhere to put the docs for new PyFrame C-API functions.

@markshannon

Copy link
Copy Markdown
Member

Thanks.

@vstinner

Copy link
Copy Markdown
Member Author

@kumaraditya303: Can you please propose a PR for your changes?

Mark needed this PR for his PR #32055 and so I merged my PR.

I removed the whole section about "public members" since they are confusing. I will propose a second PR to find a way to document them.

@kumaraditya303

Copy link
Copy Markdown
Contributor

@kumaraditya303: Can you please propose a PR for your changes?

Sure, seems like github removed my comments as I was still adding suggestions and the PR got merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants