-
-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
bpo-45764: improve error message when missing '(' after 'def' #29484
Conversation
^ | ||
SyntaxError: expected '(' | ||
|
||
#.. section: Library #.. section: Documentation #.. section: Tests #.. |
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.
Could you remove the commented part of the news entry? Somehow it got I included in the file?
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.
done
@cfbolz Fantastic! Thanks a lot for the PR! |
@cfbolz: Status check is done, and it's a failure ❌ . |
@cfbolz: Status check is done, and it's a success ❌ . |
the windows 64 error seems unrelated, I think? |
Yeah, is a known race condition that is very annoying and we still have not found a good way to fix it. @ambv maybe could take a look again as this is everywhere in the CI |
@cfbolz: Status check is done, and it's a success ✅ . |
…GH-29484) to achieve this, change the grammar to expect the '(' token after 'def' NAME. Automerge-Triggered-By: GH:pablogsal
…GH-29484) to achieve this, change the grammar to expect the '(' token after 'def' NAME. Automerge-Triggered-By: GH:pablogsal
to achieve this, change the grammar to expect the '(' token after 'def' NAME.
https://bugs.python.org/issue45764
Automerge-Triggered-By: GH:pablogsal