mirror of
https://github.com/python/cpython.git
synced 2026-05-06 12:49:07 -04:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user