Skip to content
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

Improve parser error messaging around mistakes in/around version specifiers #662

Merged
merged 3 commits into from
Jan 16, 2023

Conversation

pradyunsg
Copy link
Member

@pradyunsg pradyunsg commented Jan 14, 2023

Closes #657

The best way to understand what's changed is to look at the test suite changes. :)

This provides more context to users about what the parser would've been
expecting. This can make it easier to understand what the underlying
issue might be.
This should make it clearer how and why this is not valid, thus
providing relevant context to readers.
@pradyunsg pradyunsg changed the title Improve parser error messaging around mismatched []() tokens Improve parser error messaging around mistakes in/around version specifiers Jan 14, 2023
@pradyunsg pradyunsg merged commit 068a0b5 into pypa:main Jan 16, 2023
@pradyunsg pradyunsg deleted the better-parenthesis-error-messages branch January 19, 2023 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve error message when .* is used incorrectly
2 participants