Skip to content

Commit db0ee44

Browse files
authored
gh-142186: Revert the unintended value change in the PY_MONITORING_EVENT_* values from gh-146182 (gh-148955)
#146182 left an unintended change in the `PY_MONITORING_*` macro values. This change reverts that part to avoid a user visible impact.
1 parent 95559d2 commit db0ee44

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Include/cpython/monitoring.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ extern "C" {
2929
/* Other events, mainly exceptions.
3030
* These can now be turned on and disabled on a per code object basis. */
3131

32-
#define PY_MONITORING_EVENT_PY_UNWIND 11
32+
#define PY_MONITORING_EVENT_RAISE 11
3333
#define PY_MONITORING_EVENT_EXCEPTION_HANDLED 12
34-
#define PY_MONITORING_EVENT_RAISE 13
34+
#define PY_MONITORING_EVENT_PY_UNWIND 13
3535
#define PY_MONITORING_EVENT_PY_THROW 14
3636
#define PY_MONITORING_EVENT_RERAISE 15
3737

0 commit comments

Comments
 (0)