-
-
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-40334: Produce better error messages on invalid targets #20106
Merged
Commits on May 15, 2020
-
bpo-40334: Produce better error messages on invalid targets
The following error messages get produced: - `cannot delete ...` for invalid `del` targets - `... is an illegal 'for' target` for invalid targets in for statements - `... is an illegal 'with' target` for invalid targets in with statements Additionally a few `cut`s were added in various places before the invocation of the `invalid_*` rule, in order to speed things up.
Configuration menu - View commit details
-
Copy full SHA for 0dfaa22 - Browse repository at this point
Copy the full SHA 0dfaa22View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4a9dd6 - Browse repository at this point
Copy the full SHA d4a9dd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72a1339 - Browse repository at this point
Copy the full SHA 72a1339View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b6cf0b - Browse repository at this point
Copy the full SHA 1b6cf0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ad3819 - Browse repository at this point
Copy the full SHA 1ad3819View commit details
Commits on May 16, 2020
-
Co-authored-by: Pablo Galindo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6f30315 - Browse repository at this point
Copy the full SHA 6f30315View commit details -
Co-authored-by: Pablo Galindo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f750aba - Browse repository at this point
Copy the full SHA f750abaView commit details -
Correctly identify invalid targets, when there are multiple context managers in a with statement, avoid SEGFAULT in invalid for targets and improve paremeter naming in _PyPegen_get_invalid_target.
Configuration menu - View commit details
-
Copy full SHA for 132178f - Browse repository at this point
Copy the full SHA 132178fView commit details
Commits on May 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 17cc4bc - Browse repository at this point
Copy the full SHA 17cc4bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for def0f3d - Browse repository at this point
Copy the full SHA def0f3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee3524b - Browse repository at this point
Copy the full SHA ee3524bView commit details -
Fix searching for invalid for targets, by visiting Compare nodes in _…
…PyPegen_get_invalid_target
Configuration menu - View commit details
-
Copy full SHA for 4959a12 - Browse repository at this point
Copy the full SHA 4959a12View commit details -
Call RAISE_SYNTAX_ERROR instead of returning NULL, when no invalid fo…
…r target was found
Configuration menu - View commit details
-
Copy full SHA for dd1d8c8 - Browse repository at this point
Copy the full SHA dd1d8c8View commit details
Commits on May 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 24d63fb - Browse repository at this point
Copy the full SHA 24d63fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for c1cf8e6 - Browse repository at this point
Copy the full SHA c1cf8e6View commit details
Commits on May 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 06798ff - Browse repository at this point
Copy the full SHA 06798ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef7fe3a - Browse repository at this point
Copy the full SHA ef7fe3aView commit details
Commits on May 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for efabcc9 - Browse repository at this point
Copy the full SHA efabcc9View commit details
Commits on May 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6d41c55 - Browse repository at this point
Copy the full SHA 6d41c55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82486c1 - Browse repository at this point
Copy the full SHA 82486c1View commit details
Commits on Jun 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 705d55b - Browse repository at this point
Copy the full SHA 705d55bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f0f934d - Browse repository at this point
Copy the full SHA f0f934dView commit details
Commits on Jun 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ede107e - Browse repository at this point
Copy the full SHA ede107eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 55b5327 - Browse repository at this point
Copy the full SHA 55b5327View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.