-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Match statements rewrite #5628
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
Match statements rewrite #5628
Conversation
85f38df
to
11a9b4d
Compare
Note that class and sequence matching is broken, but this is still a significant improvement over the current implementation. |
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.
Looks great in general.
@coolreader18 Could you review this PR?
@coolreader18 do you have time to review? |
@coolreader18 I wish you could comment just will do or not do |
Retains all match statement functionality, but rewrites all the match statement code to reduce bugs and mirror cpython. Also, it adds support for the rest of the patterns (hopefully).
Also this re-enables the codegen tests that the ruff port disabled.
Fixes: #5628 and #5491