-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-106581: Project through calls #108067
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
Merged
gh-106581: Project through calls #108067
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
138fc0e
Add function-by-version cache
gvanrossum 6e31431
Trace into function calls
gvanrossum e2c8fa7
Make RESUME a viable uop
gvanrossum 5aeb1ea
Clear func_version_cache in interpreter_clear()
gvanrossum 129dd39
Add a small essay on function and code versions
gvanrossum 7579ff7
Move function cache clearing earlier in finalization
gvanrossum 6096790
Cache borrowed references, cleared in func_dealloc
gvanrossum 36a3e86
Correctly set instr_fmt metadata for macros
gvanrossum d31197d
Split RETURN_{VALUE,CONST} into uops (mostly works)
gvanrossum 01c1cdb
Change LLTRACE debug to trigger on PYTHONUOPSDEBUG >= 5, not 4
gvanrossum 4133880
Handle _POP_FRAME in superblock properly
gvanrossum 7892940
Handle trace stack underflow
gvanrossum 7760028
Add _Py_LeaveRecursiveCallPy to _POP_FRAME
gvanrossum 976f867
Ensure co_stacksize >= 1, else RETURN_CONST may crash
gvanrossum 20786b2
Fix failing test_code (co_stacksize is never 0)
gvanrossum 23e9895
Don't trace into functions if func_version != co_version
gvanrossum bde6547
Fix RETURN_VALUE/CONST with hacks
gvanrossum d1953ae
Merge branch 'main' into project-uops
gvanrossum 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
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.
I think this would be slightly more readable with something like this:
Ditto for the function below.
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.
Oh, sorry. It's probably not worth it to clean this up now that I landed it.