-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
gh-105775: Convert LOAD_CLOSURE to a pseudo-op #106059
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
gvanrossum
merged 14 commits into
python:main
from
polynomialherder:Remove-LOAD-CLOSURE-105775
Jun 29, 2023
Merged
Changes from 1 commit
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
21d086e
gh-105775: Demote LOAD_CLOSURE to a pseudo-op
polynomialherder 6921930
gh-106044: Fix whitespace
polynomialherder b111d10
gh-105775: Regenerate generated_cases.c.h
polynomialherder bbdbb99
Merge branch 'main' into Remove-LOAD-CLOSURE-105775
polynomialherder 93b3138
gh-105775: Add unit test, correct NEWS/docs
polynomialherder 32c1a70
Merge branch 'main' into Remove-LOAD-CLOSURE-105775
polynomialherder 4103b9a
Merge branch 'Remove-LOAD-CLOSURE-105775' of github.com:polynomialher…
polynomialherder 269933e
Merge branch 'main' into Remove-LOAD-CLOSURE-105775
polynomialherder a069593
Merge branch 'main' into Remove-LOAD-CLOSURE-105775
polynomialherder 988189d
gh-105775: Update documentation, whitespace tweaks
polynomialherder 968601d
Merge branch 'main' into Remove-LOAD-CLOSURE-105775
polynomialherder 46fa9d5
Update news item
polynomialherder 2b677b6
Merge branch 'main' into Remove-LOAD-CLOSURE-105775
polynomialherder ab8ce45
Merge branch 'main' into Remove-LOAD-CLOSURE-105775
polynomialherder 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
gh-105775: Add unit test, correct NEWS/docs
This change adds a unit test for assembly of code objects containing the LOAD_CLOSURE pseud-instruction We also correct the documentation and NEWS descriptions to more accurately reflect the effects of converting LOAD_CLOSURE to a pseudo-op and the reason for its existence in the first place
- Loading branch information
commit 93b3138aaaf3ed844814917c027a6f53731b3900
There are no files selected for viewing
8000
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
5 changes: 1 addition & 4 deletions
5
Misc/NEWS.d/next/Core and Builtins/2023-06-24-10-34-27.gh-issue-105775.OqjoGV.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 |
---|---|---|
@@ -1,4 +1 @@ | ||
Remove the LOAD_CLOSURE opcode and make it a pseudo-op instead. This enables | ||
|
||
* Superinstruction formation | ||
* Removal of checks for uninitialized variables | ||
Remove the LOAD_CLOSURE opcode and make it a pseudo-op instead. | ||
iritkatriel marked this conversation as resolved.
Show resolved
Hide resolved
|
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.