bpo-43897: Implement AST validation for Pattern Matching#24771
Conversation
|
This PR is stale because it has been open for 30 days with no activity. |
Sorry, something went wrong.
brandtbucher
left a comment
There was a problem hiding this comment.
Hi @isidentical!
I think I missed this in the beta-freeze scramble. Any plans to update it for the new AST?
Sorry, something went wrong.
I might take a look at it in the upcoming weeks though I don't think I would have enough capacity to catch up with beta 2 (9 days from now). If you have time, I could give access to my fork if not I'll try to make it ready for beta 3. |
Sorry, something went wrong.
|
Beta 3 is fine! |
Sorry, something went wrong.
0356aea to
d758c6a
Compare
June 12, 2021 17:43
|
Hey @brandtbucher! I've updated the PR with the new AST form, sorry it took a bit long. I didn't have much free time after the AST layout change, and needed to catch up with the new nodes first. Just ported all the missing pieces, there are still some bugs that I can see (for example some of the old parts of the validator code just quit when error happens, but doesn't decrement the recursion limit. Since I didn't touch those and the patch was already big I just skipped them now, might fix later) but nothing too big. Please let me know any missing stuff that I should handle. |
Sorry, something went wrong.
|
🤖 New build scheduled with the buildbot fleet by @isidentical for commit d758c6a1e9f6c01800822c5bdf5e1778161fab3f 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
Sorry, something went wrong.
brandtbucher
left a comment
There was a problem hiding this comment.
Thanks, this looks really good! I just have a few comments:
Sorry, something went wrong.
|
When you're done making the requested changes, leave the comment: |
Sorry, something went wrong.
Sorry, didn't see this. Feel free to ignore those suggestions, then! I can find time to go back over those and fix the |
Sorry, something went wrong.
What do you mean by the |
Sorry, something went wrong.
d758c6a to
8dcb7d9
Compare
July 8, 2021 20:57
Patterns like Also, |
Sorry, something went wrong.
|
Thanks again! Sorry I kept dropping the ball on this, haha. |
Sorry, something went wrong.
https://bugs.python.org/issue43897