KEMBAR78
Meaningful message with long tuple initializer by TH3CHARLie · Pull Request #7995 · python/mypy · GitHub
Skip to content

Conversation

TH3CHARLie
Copy link
Collaborator

@TH3CHARLie TH3CHARLie commented Nov 21, 2019

resolves #7977

Current format of error message(especially for item-by-item case) need discussion

request for review if you are free @JukkaL @ilevkivskyi

@TH3CHARLie
Copy link
Collaborator Author

Well, Python3.8 tests continue to fail because their errors are reported one row different from previous version.

Copy link
Collaborator

@JukkaL JukkaL left a 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.

@TH3CHARLie TH3CHARLie requested a review from JukkaL November 22, 2019 15:50
@TH3CHARLie
Copy link
Collaborator Author

@JukkaL Hi, if you have any time could you please review this as I think it’s nearly finished with some minor fixes maybe

Copy link
Collaborator

@JukkaL JukkaL left a 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.

@TH3CHARLie TH3CHARLie requested a review from JukkaL December 3, 2019 04:40
Copy link
Collaborator

@JukkaL JukkaL left a 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!

@JukkaL JukkaL merged commit 3930bbf into python:master Dec 3, 2019
@TH3CHARLie
Copy link
Collaborator Author

Thanks for the review!

@TH3CHARLie TH3CHARLie deleted the meaningful-message-with-long-tuple-initializer branch December 3, 2019 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unhelpful message with a very long tuple initializer

2 participants