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.
E
Erlend E. Aasland committed
87295b4068762f9cbdfcae5fed5ff54aadd3cb62
Parent: 6c98fce
Committed by GitHub <noreply@github.com>
on 12/27/2023, 9:43:19 PM