cpython/Tools/clinic/libclinic
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
..
__init__.py gh-113317: Rework Argument Clinic cpp.py error handling (#113525) 2023-12-27 21:43:19 +00:00
errors.py gh-113317: Rework Argument Clinic cpp.py error handling (#113525) 2023-12-27 21:43:19 +00:00
formatting.py