gh-142186: Revert the unintended value change in the PY_MONITORING_EVENT_* values from gh-146182 (gh-148955)

https://github.com/python/cpython/pull/146182 left an unintended change in the `PY_MONITORING_*` macro values. This change reverts that part to avoid a user visible impact.
This commit is contained in:
scoder 2026-04-25 09:05:03 +02:00 committed by GitHub
parent 95559d2a7e
commit db0ee44b93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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