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

bpo-44800: Document internal frame naming conventions#32281

Merged
ncoghlan merged 1 commit into
python:mainpython/cpython:mainfrom
ncoghlan:bpo-44800-document-status-quoncoghlan/cpython:bpo-44800-document-status-quoCopy head branch name to clipboard
Apr 3, 2022
Merged

bpo-44800: Document internal frame naming conventions#32281
ncoghlan merged 1 commit into
python:mainpython/cpython:mainfrom
ncoghlan:bpo-44800-document-status-quoncoghlan/cpython:bpo-44800-document-status-quoCopy head branch name to clipboard

Conversation

@ncoghlan

@ncoghlan ncoghlan commented Apr 3, 2022

Copy link
Copy Markdown
Contributor

The fact interpreter frames were split out from full frame objects
rather than always being part of the eval loop implementation means
that it's tricky to infer the expected naming conventions simply
from looking at the code.

Documenting the de facto conventions in pycore_frame.h means future
readers of the code will have a clear explanation of the rationale
for those conventions (i.e. minimising non-functional code churn).

Closes bpo-44800

https://bugs.python.org/issue44800

The fact interpreter frames were split out from full frame objects
rather than always being part of the eval loop implementation means
that it's tricky to infer the expected naming conventions simply
from looking at the code.

Documenting the de facto conventions in pycore_frame.h means future
readers of the code will have a clear explanation of the rationale
for those conventions (i.e. minimising non-functional code churn).
@markshannon

markshannon commented Apr 4, 2022

Copy link
Copy Markdown
Member

@ncoghlan Please don't merge changes without review.

This change is both misleading in general and incorrect in detail, as I would have pointed out had you waited for a review rather than merging immediately.

@markshannon

Copy link
Copy Markdown
Member

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.

4 participants

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