-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Constant fold more unary and binary expressions #15202
Merged
JukkaL
merged 15 commits into
python:master
from
ichard26:improved-constant-folding-try-2
Jun 25, 2023
Merged
Constant fold more unary and binary expressions #15202
JukkaL
merged 15 commits into
python:master
from
ichard26:improved-constant-folding-try-2
Jun 25, 2023
Commits on Mar 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 33bc95a - Browse repository at this point
Copy the full SHA 33bc95aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c80e95e - Browse repository at this point
Copy the full SHA c80e95eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ced8a10 - Browse repository at this point
Copy the full SHA ced8a10View commit details -
Support constant folding bytes ops
Unfortunately mypy can't easily support storing the bytes value for final references. Other than preventing b"foo" + CONST_BYTES from being folded, it also means this commit is mypyc-only.
Configuration menu - View commit details
-
Copy full SHA for 54a892b - Browse repository at this point
Copy the full SHA 54a892bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c057484 - Browse repository at this point
Copy the full SHA c057484View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b3c4c7 - Browse repository at this point
Copy the full SHA 3b3c4c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bae7d9 - Browse repository at this point
Copy the full SHA 3bae7d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3670d0d - Browse repository at this point
Copy the full SHA 3670d0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d24649 - Browse repository at this point
Copy the full SHA 8d24649View commit details
Commits on May 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0655190 - Browse repository at this point
Copy the full SHA 0655190View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85a35c4 - Browse repository at this point
Copy the full SHA 85a35c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fb8f8c - Browse repository at this point
Copy the full SHA 7fb8f8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7542d99 - Browse repository at this point
Copy the full SHA 7542d99View commit details
Commits on Jun 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c32dc3b - Browse repository at this point
Copy the full SHA c32dc3bView commit details -
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Configuration menu - View commit details
-
Copy full SHA for be9e755 - Browse repository at this point
Copy the full SHA be9e755View commit details
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.