-
-
Notifications
You must be signed in to change notification settings - Fork 33k
gh-137838: Move _PyUOpInstruction buffer to PyInterpreterState #138918
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
Changes from 3 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
fe3c1af
gh-137838: Move _PyUOpInstruction buffer[UOP_MAX_TRACE_LENGTH] to _Py…
corona10 cd868b9
nit
corona10 daf4730
nit
corona10 e09af56
Update
corona10 be0b25b
Address code review
corona10 61b32ee
Add Include/internal/pycore_uop.h
corona10 a39b4c1
Update
corona10 f32f7a7
Update Include/internal/pycore_tstate.h
corona10 fd15eb8
nit
corona10 471832b
nit
corona10 d12b705
Use lazy allocation
corona10 c628ffc
Address code review
corona10 b175416
Address code review
corona10 ad15aaf
Address code review
corona10 07e6ba1
Address code review
corona10 f13260e
Address code review
corona10 ab39a55
test
corona10 60541dc
Revert "test"
corona10 877f3a9
Just for test
corona10 9af48c2
Revert "Just for test"
corona10 989fa8e
Test statically allocated
corona10 4dff816
Revert "Test statically allocated"
corona10 7e5261c
Make situation to isolate with the change
corona10 08adf26
fix
corona10 9051791
fix
corona10 928485a
Address code review
corona10 0c2a74f
nit
corona10 a49bcab
Update
corona10 f88ee3b
Revert "Update"
corona10 05825f5
fix
corona10 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
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/Core_and_Builtins/2025-09-15-13-14-20.gh-issue-137838.Ju-vRW.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,2 @@ | ||
Move _PyUOpInstruction buffer[UOP_MAX_TRACE_LENGTH] to _PyThreadStateImpl. | ||
Patch By Donghee Na. | ||
corona10 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
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
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.
@Fidget-Spinner I move _PyUOpInstruction to here becasue of declaration issue. But we may need to move this struct for better place.