-
-
Notifications
You must be signed in to change notification settings - Fork 32k
GH-94262: Don't create frame objects for frames that aren't complete. #94371
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
Merged
markshannon
merged 11 commits into
python:main
from
faster-cpython:no-frame-object-too-early
Jul 1, 2022
Merged
Changes from 1 commit
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
87e97ae
Add test for creating frame object when making a generator.
markshannon 583d164
Don't expose incomplete frames as frame objects.
markshannon 5043a8b
Add news
markshannon e81c1f3
Cleanup after test.
markshannon 6d07165
Explain _PyFrame_IsIncomplete()
markshannon ce0d4b5
Try harder to break things
markshannon f56451b
Avoid creating frame objects for incomplete frames vai f_back.
markshannon b69e803
Fix test
markshannon c648d46
Assert frame is valid when creating frame object.
markshannon cf0b32c
Prevent test polluting environment
markshannon 939769c
Create all frames on stack from finalizer.
markshannon 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
Next
Next commit
Add test for creating frame object when making a generator.
- Loading branch information
commit 87e97ae4ad8942bc0cc09174d8964c3e02b6b03b
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
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 i
2C04
s 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.