Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
GH-100126: Skip incomplete frames in more places#100613
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
GH-100126: Skip incomplete frames in more places#100613
Uh oh!
There was an error while loading.Please reload this page.
Conversation
bedevere-bot commentedDec 30, 2022
🤖 New build scheduled with the buildbot fleet by@brandtbucher for commit53d066e 🤖 If you want to schedule another build, you need to add the |
brandtbucher commentedDec 30, 2022
The one failing buildbot (ARM64 Windows) has been failing on other PRs too. |
markshannon left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
One quibble about naming.
Looks good. Hopefully this is the last of the frame stack traversal issues.
Include/internal/pycore_frame.h Outdated
| } | ||
| staticinline_PyInterpreterFrame* | ||
| _PyFrame_GetComplete(_PyInterpreterFrame*frame) |
markshannonJan 5, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This name gives no sense of traversing the stack until a complete frame is found.
Maybe_PyFrame_GetFirstComplete()?
Uh oh!
There was an error while loading.Please reload this page.
Also, add two new internal APIs (
_PyFrame_GetCompleteand_PyThreadState_GetFrame) to make this common move a bit cleaner.tstate->cframe->current_frame) #100126