-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Add tests for ast optimizations #122666
Labels
Comments
Eclips4
added
type-feature
A feature request or enhancement
tests
Tests in the Lib/test dir
labels
Aug 4, 2024
JelleZijlstra
added a commit
that referenced
this issue
Aug 26, 2024
Co-authored-by: Sergey B Kirpichev <[email protected]> Co-authored-by: Victor Stinner <[email protected]> Co-authored-by: Jelle Zijlstra <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Aug 26, 2024
(cherry picked from commit 9f9b00d) Co-authored-by: Kirill Podoprigora <[email protected]> Co-authored-by: Sergey B Kirpichev <[email protected]> Co-authored-by: Victor Stinner <[email protected]> Co-authored-by: Jelle Zijlstra <[email protected]>
Tests for optimization are included in test_peepholer. |
|
JelleZijlstra
added a commit
that referenced
this issue
Aug 27, 2024
(cherry picked from commit 9f9b00d) Co-authored-by: Kirill Podoprigora <[email protected]> Co-authored-by: Sergey B Kirpichev <[email protected]> Co-authored-by: Victor Stinner <[email protected]> Co-authored-by: Jelle Zijlstra <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature or enhancement
Proposal:
Currently we have a one test case which testing that
optimize
parameter for ast.parse is working as expected.I propose to add tests for these ast optimizations:
in
operator if right operand is constant list or setHas this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: