]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44800: Document internal frame naming conventions (GH-32281)
authorNick Coghlan <ncoghlan@gmail.com>
Sun, 3 Apr 2022 06:55:55 +0000 (16:55 +1000)
committerGitHub <noreply@github.com>
Sun, 3 Apr 2022 06:55:55 +0000 (16:55 +1000)
commit124227c95f310d2ecd4b567271ab1919fc7000cb
tree2928c003695d7d6877954e7df877479a1d55e5a7
parent4f5d56f8f33196f5ed8ffad0ab2f012afda2f9b3
bpo-44800: Document internal frame naming conventions (GH-32281)

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).
Include/internal/pycore_frame.h