Skip to content

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

Merged
merged 7 commits into from
Dec 3, 2019
Merged

Meaningful message with long tuple initializer #7995

merged 7 commits into from
Dec 3, 2019

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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy