-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Meaningful message with long tuple initializer #7995
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
Meaningful message with long tuple initializer #7995
Conversation
Well, Python3.8 tests continue to fail because their errors are reported one row different from previous version. |
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.
Thanks for the PR! I left a few commits about code style and formatting of the messages. You can perhaps avoid the Python 3.8 error by reformatting the code a bit so that all Python versions report the same line. Python 3.8 changed the locations of various AST nodes a bit.
@JukkaL Hi, if you have any time could you please review this as I think it’s nearly finished with some minor fixes maybe |
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.
Thanks for the updates! I have some minor comments, but otherwise looks good. This should be ready to merge soon.
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.
Thanks! Looks good now!
Thanks for the review! |
resolves #7977
Current format of error message(especially for item-by-item case) need discussion
request for review if you are free @JukkaL @ilevkivskyi