From 5c5261f11a1c85c73912d92df7990f59e7cc4f4e Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 24 Apr 2026 15:11:52 +0200 Subject: [PATCH] gh-142186: Revert the unintended value change in the monitoring values. --- Include/cpython/monitoring.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Include/cpython/monitoring.h b/Include/cpython/monitoring.h index fa6168d95cd210..c93271f6ca95f5 100644 --- a/Include/cpython/monitoring.h +++ b/Include/cpython/monitoring.h @@ -29,9 +29,9 @@ extern "C" { /* Other events, mainly exceptions. * These can now be turned on and disabled on a per code object basis. */ -#define PY_MONITORING_EVENT_PY_UNWIND 11 +#define PY_MONITORING_EVENT_RAISE 11 #define PY_MONITORING_EVENT_EXCEPTION_HANDLED 12 -#define PY_MONITORING_EVENT_RAISE 13 +#define PY_MONITORING_EVENT_PY_UNWIND 13 #define PY_MONITORING_EVENT_PY_THROW 14 #define PY_MONITORING_EVENT_RERAISE 15