cpython/Tools/clinic
Erlend E. Aasland 87295b4068
gh-113317: Rework Argument Clinic cpp.py error handling (#113525)
Rework error handling in the C preprocessor helper. Instead of monkey-
patching the cpp.Monitor.fail() method from within clinic.py, rewrite
cpp.py to use a subclass of the ClinicError exception. As a side-effect,
ClinicError is moved into Tools/clinic/libclinic/errors.py.

Yak-shaving in preparation for putting cpp.py into libclinic.
2023-12-27 21:43:19 +00:00
..
libclinic gh-113317: Rework Argument Clinic cpp.py error handling (#113525) 2023-12-27 21:43:19 +00:00
.ruff.toml gh-110558: Enable ruff's pyupgrade rules when running on Argument Clinic (#110603) 2023-10-10 09:35:36 +00:00
clinic.py gh-113317: Rework Argument Clinic cpp.py error handling (#113525) 2023-12-27 21:43:19 +00:00
cpp.py gh-113317: Rework Argument Clinic cpp.py error handling (#113525) 2023-12-27 21:43:19 +00:00
mypy.ini gh-104146: Argument clinic: Remove dead code flagged by mypy's `truthy-bool` check (#107627) 2023-08-04 13:28:13 +00:00