-
Notifications
You must be signed in to change notification settings - Fork 33
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
Fix typo and broken test cases #102
Conversation
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.
LGTM! Thanks a lot @yf-yang! 🎉
We can think about doing a release after we've revived and merged the rest of the open PRs.
Sure. Thank you for your attention. |
It is minor, but you can if you want. |
Could you maybe also look into the test failures here or would you like me to? |
Just saw it. I'll take care of it. |
Hmm, I am not so sure Python 3.10
3.11
|
tokenize are yielding same results. Will further investigate later. |
Maybe related: After examine those PR, maybe we just need to update the expected result. |
We probably just need to adjust the column offsets of the |
Before 3.11, both Python and pegen raises 1,3 ~ 1,6 If I got it right, we should:
Is it right? |
Will work on the grammar file later. |
Follow latest python 3.12 behavior: Python 3.12.4 | packaged by Anaconda, Inc. | (main, Jun 18 2024, 10:14:12) [Clang 14.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> f(**a, *b)
File "<stdin>", line 1
f(**a, *b)
^^^^
SyntaxError: iterable argument unpacking follows keyword argument unpacking Ready to go. |
🤨 What's that failure? My local py3.8.19 passes all the tests |
@lysnikolaou Why was this one closed? Are we planning to directly sync cpython code sometime later? |
It was closed because of Github autoclosing referenced issues/PRs when there's the word |
OK, would you please take a look at the broken 3.8 test suites? I don't quite understand it. |
Black complains about the formatting of some files. Fixing it may be as simple as running it. |
Oh yes, thank you. I wasn't familiar with the ci logs 😅. |
invalid_arguments
rules to follow latest Python error message [3.12] gh-109120: Fix syntax error in handlinh of incorrect star expressions… python/cpython#117465[Original message] Just out of curiosity, will pegen release a minor version based on the change? I'm fixing the spell check error of a project that inherits ParserGenerator.