-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
WIP bpo-44800: Rename _PyInterpreterFrame
to _Py_framedata
#27525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
ncoghlan
wants to merge
34
commits into
python:main
from
ncoghlan:bpo-44800-rename-interpreter-frames
Closed
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
a133e0d
bpo-44800: Clearly distinguish execution & introspection frames
ncoghlan d8858aa
'frame' and 'frame data' replaces introspection and execution frames
ncoghlan cd340b0
Merge remote-tracking branch 'origin/main' into bpo-44800-rename-inte…
ncoghlan ccf953b
Tweak some comments
ncoghlan 4a097bd
Another comment fix
ncoghlan bd00490
Fix LLTRACE macro compile error
ncoghlan 04aa7e8
Revert unintended function name changes
ncoghlan e9018e7
Fix comment alignment
ncoghlan 0ce41c8
Follow proposed new naming conventions in gdb hooks
ncoghlan c269e1f
Merge remote-tracking branch 'origin/main' into bpo-44800-rename-inte…
ncoghlan 4eeff9a
Reduce conflicts for main branch merge
ncoghlan 6fa0f53
Fix bad search & replace
ncoghlan 776ca80
main branch has no underscore
ncoghlan 682af23
Reduce function header conflicts
ncoghlan c76e63b
Yet more merge conflict reduction
ncoghlan b1d1438
Merged and compiles, naming is inconsistent
ncoghlan cae935d
Reinstate _Py_framedata struct rename
ncoghlan 2866bfa
Fix type declaration for gen/coro frame data
ncoghlan 239a62f
Document frame related naming conventions
ncoghlan 2680f35
Migrate gen/coro iframe field to fdata naming convention
ncoghlan ebda1d3
Use fdata for frame data locals and parameters
ncoghlan 269a4a0
frame -> fdata in ceval.c & allow compilation
ncoghlan 34cf023
Disambiguate f_fdata and f_frame_data
ncoghlan 55d9276
Merge remote-tracking branch 'origin/main' into bpo-44800-rename-inte…
ncoghlan 3eba918
Document the currently implemented conventions
ncoghlan e8a4adf
Note the 'current_frame' exception
ncoghlan 3d654a0
Fix test_gdb
ncoghlan b09b114
Fix header file include guard var
ncoghlan 9b51976
Distinguish frame state error messages
ncoghlan 0a3611c
super() does not access C frame structs
ncoghlan 08410cc
new_frame -> new_fdata in frame push
ncoghlan c694768
Add missing error check in PyImport_Import
ncoghlan ba87ef3
No Python frame seems legit for PyImport_Import()
ncoghlan 7168f7d
Get test_gdb passing locally
ncoghlan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
Misc/NEWS.d/next/Core and Builtins/2021-08-01-18-18-51.bpo-44800.TCsfH3.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Refactored internal APIs for the new lazy frame object creation to more | ||
consistently distinguish between the full ``PyFrameObject`` Python object | ||
implementation that is still used in the Python and C runtime state | ||
introspection APIs (function prefix ``PyFrame``, field prefix ``f_``, typical | ||
variable names ``frame`` and ``f``) and the new ``_Py_framedata`` internal | ||
frame data storage (C structs with no intrinsic instance lifecycle management) | ||
that is now used for code execution (function prefix ``_Py_framedata``, no | ||
field prefix, typical variable name ``fdata``). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Blurb details and date still need to be updated |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.