diff options
author | Erlend E. Aasland <erlend@python.org> | 2023-12-27 22:43:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-27 21:43:19 +0000 |
commit | 87295b4068762f9cbdfcae5fed5ff54aadd3cb62 (patch) | |
tree | 8457448ab9f4cf1cb2795ad8dff6f48768fb3182 /Python/ceval.c | |
parent | 6c98fce33a4c2d6671978f6286377af0d6e22182 (diff) | |
download | cpython-87295b4068762f9cbdfcae5fed5ff54aadd3cb62.tar.gz cpython-87295b4068762f9cbdfcae5fed5ff54aadd3cb62.zip |
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.
Diffstat (limited to 'Python/ceval.c')
0 files changed, 0 insertions, 0 deletions