Visitar URL original
Revert "bpo-44800: Document internal frame naming conventions" by markshannon · Pull Request #32301 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20251003051102/https://github.com/python/cpython/pull/32301
Skip to content

Conversation

markshannon
Copy link
Member

@markshannon markshannon commented Apr 4, 2022 •

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

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

@markshannon
Copy link
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