-
-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
gh-104683: Rework Argument Clinic error handling #107551
Merged
erlend-aasland
merged 31 commits into
python:main
from
erlend-aasland:clinic/warn-and-fail
Aug 3, 2023
Merged
gh-104683: Rework Argument Clinic error handling #107551
erlend-aasland
merged 31 commits into
python:main
from
erlend-aasland:clinic/warn-and-fail
Aug 3, 2023
Commits on Jul 29, 2023
-
- Introduce ClinicError and ClinicWarning - fail() raises ClinicError - warn() uses warnings.warn(msg, ClinicWarning) - the CLI runs main(), catches ClinicError, formats the error message prints to stderr and exits with an error - adapt the test suite to work with ClinicError
Configuration menu - View commit details
-
Copy full SHA for 36bac55 - Browse repository at this point
Copy the full SHA 36bac55View commit details
Commits on Jul 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9cb2ce9 - Browse repository at this point
Copy the full SHA 9cb2ce9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 789f5ee - Browse repository at this point
Copy the full SHA 789f5eeView commit details
Commits on Aug 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 15a246b - Browse repository at this point
Copy the full SHA 15a246bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e32d221 - Browse repository at this point
Copy the full SHA e32d221View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4350ecc - Browse repository at this point
Copy the full SHA 4350eccView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad5181a - Browse repository at this point
Copy the full SHA ad5181aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 545e7b6 - Browse repository at this point
Copy the full SHA 545e7b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c978a6d - Browse repository at this point
Copy the full SHA c978a6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33b038c - Browse repository at this point
Copy the full SHA 33b038cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b631a3 - Browse repository at this point
Copy the full SHA 7b631a3View commit details
Commits on Aug 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 553cb6e - Browse repository at this point
Copy the full SHA 553cb6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1514f63 - Browse repository at this point
Copy the full SHA 1514f63View commit details -
Revert "Refactor: extract method parse_parameter_name()"
This reverts commit 7b631a3.
Configuration menu - View commit details
-
Copy full SHA for d3daef7 - Browse repository at this point
Copy the full SHA d3daef7View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa38570 - Browse repository at this point
Copy the full SHA aa38570View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f3750b - Browse repository at this point
Copy the full SHA 8f3750bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e8b8d7e - Browse repository at this point
Copy the full SHA e8b8d7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 79b9859 - Browse repository at this point
Copy the full SHA 79b9859View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57eff9d - Browse repository at this point
Copy the full SHA 57eff9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b8dea9 - Browse repository at this point
Copy the full SHA 5b8dea9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f5cfae - Browse repository at this point
Copy the full SHA 6f5cfaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3081729 - Browse repository at this point
Copy the full SHA 3081729View commit details -
Configuration menu - View commit details
-
Copy full SHA for 716bda8 - Browse repository at this point
Copy the full SHA 716bda8View commit details -
Configuration menu - View commit details
-
Copy full SHA for af79481 - Browse repository at this point
Copy the full SHA af79481View commit details -
Configuration menu - View commit details
-
Copy full SHA for d109b63 - Browse repository at this point
Copy the full SHA d109b63View commit details -
Configuration menu - View commit details
-
Copy full SHA for ecbfe2c - Browse repository at this point
Copy the full SHA ecbfe2cView commit details -
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 90e1bc9 - Browse repository at this point
Copy the full SHA 90e1bc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7766c3d - Browse repository at this point
Copy the full SHA 7766c3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d9d6c6 - Browse repository at this point
Copy the full SHA 3d9d6c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8573928 - Browse repository at this point
Copy the full SHA 8573928View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcd4721 - Browse repository at this point
Copy the full SHA fcd4721View 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.