Skip to content

Navigation Menu

Sign in
Appearance settings

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

Provide feedback

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

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Revert "bpo-44800: Document internal frame naming conventions"#32301

Merged
markshannon merged 1 commit into
mainpython/cpython:mainfrom
revert-32281-bpo-44800-document-status-quopython/cpython:revert-32281-bpo-44800-document-status-quoCopy head branch name to clipboard
Apr 4, 2022
Merged

Revert "bpo-44800: Document internal frame naming conventions"#32301
markshannon merged 1 commit into
mainpython/cpython:mainfrom
revert-32281-bpo-44800-document-status-quopython/cpython:revert-32281-bpo-44800-document-status-quoCopy head branch name to clipboard

Conversation

@markshannon

@markshannon markshannon commented Apr 4, 2022

Copy link
Copy Markdown
Member

Reverts #32281 as it is both misleading in general and incorrect in detail.

General:
Listing each field, and stating its name, is pointless and just gets in the way of reading the code which contains the same information and is guaranteed unambiguous and up to date.
The language is vague, and is misleading when describing why there are two structs, PyInterpeterFrame, and PyFrameObject and what their roles are.

Detail:
There is no f_state field (and f_lasti will be replaced imminently).

https://bugs.python.org/issue44800

@markshannon markshannon merged commit 8a349eb into main Apr 4, 2022
@markshannon markshannon deleted the revert-32281-bpo-44800-document-status-quo branch April 4, 2022 14:09
@bedevere-bot

Copy link
Copy Markdown

@markshannon: Please replace # with GH- in the commit message next time. Thanks!

@markshannon

Copy link
Copy Markdown
Member Author

See #32304

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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.