summaryrefslogtreecommitdiffstats
path: root/Tools/clinic/libclinic/errors.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-113317, AC: Move warn() and fail() to libclinic.errors (#116770)Victor Stinner2024-03-141-0/+46
|
* gh-113317: Rework Argument Clinic cpp.py error handling (#113525)Erlend E. Aasland2023-12-271-0/+26
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.