-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-91049: Introduce set vectorcall field API for PyFunctionObject #92257
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 26 commits into
python:main
from
adphrost:pyfunctionobject-set-vectorcall-field
Sep 15, 2022
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
9cf96ec
Enable setting vectorcall field on PyFunctionObjects
282e3dc
check if vectorcall is nondefault before inlining call
edcdcf1
📜🤖 Added by blurb_it.
blurb-it[bot] debf5a9
Apply suggestions from code review
adphrost 473d18d
addressed comments
76e8c9d
added to docs
3337459
Merge branch 'main' into pyfunctionobject-set-vectorcall-field
1543f44
updated doc with fix by itamaro
08082bd
formatting
ed93327
removed doc from 3.11
24ffd30
remove lines from 3.11
89cb4b2
Apply review feedback from vstinner and markshannon
itamaro 3387d4a
Merge branch 'main' into gh-91049-set-vectorcall
itamaro b0cc28a
Merge branch 'main' into gh-91049-set-vectorcall
itamaro 99e4085
Add deopt on func version in LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN
itamaro 24353c8
write func version to cache keys version when specializing LOAD_ATTR_…
itamaro 60f7769
remove redundant argcount check in LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN …
itamaro 376ee75
Add missing periods in docs
itamaro 56ffc70
move warning comment to the function C API docs
itamaro 5340e87
Merge branch 'main' into pyfunctionobject-set-vectorcall-field
itamaro a5e9d13
fix race with GH-96519 (removed func_version in LOAD_ATTR_GETATTRIBUT…
itamaro 12faf52
PEP-7 formatting
itamaro 6623470
Address review feedback
itamaro 9149f14
Add test for LOAD_ATTR specialization when overriding vectorcall of _…
itamaro e732d7e
Improve setvectorcall + specialization testing
itamaro 84874fb
Merge branch 'main' into pyfunctionobject-set-vectorcall-field
itamaro 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
Enable setting vectorcall field on PyFunctionObjects
- Loading branch information
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
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.
Could you modify the test to return the string "overridden" instead of just returning None?