Skip to content

[3.13] gh-122666: Tests for ast optimizations (GH-122667) #123359

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 3 commits into from
Aug 27, 2024

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented 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]

(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]>
@JelleZijlstra
Copy link
Member

cc @Eclips4 the tests are failing because ast.compare didn't exist in 3.13. We'll probably have to add a simple version of compare just in the test; maybe can simply ast.dump() both trees and string compare them.

@Eclips4 Eclips4 self-assigned this Aug 27, 2024
@Eclips4 Eclips4 requested a review from JelleZijlstra August 27, 2024 07:22
Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JelleZijlstra JelleZijlstra merged commit 69b104a into python:3.13 Aug 27, 2024
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants