]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] GH-108390: Prevent non-local events being set with `sys.monitoring.set_local_e...
authorMark Shannon <mark@hotpy.org>
Tue, 5 Sep 2023 11:29:38 +0000 (12:29 +0100)
committerGitHub <noreply@github.com>
Tue, 5 Sep 2023 11:29:38 +0000 (11:29 +0000)
commit7ee021f99998690ee724d08a95dceadd2ec8a051
tree6b1b3d3baae57c46b3a56ce0645661e0568de46e
parent5121faabd1b3733a1198a18fa5df540eeb2475f6
[3.12] GH-108390: Prevent non-local events being set with `sys.monitoring.set_local_events()` (GH-108420) (#108899)

* GH-108390: Prevent non-local events being set with `sys.monitoring.set_local_events()` (GH-108420)

* Restore generated objects

* Restore size of monitoring arrays in code object for 3.12 ABI compatibility.

* Update ABI file
Doc/data/python3.12.abi
Include/cpython/code.h
Include/internal/pycore_instruments.h
Include/internal/pycore_interp.h
Lib/test/test_monitoring.py
Misc/NEWS.d/next/Core and Builtins/2023-08-13-17-18-22.gh-issue-108390.TkBccC.rst [new file with mode: 0644]
Python/ceval.c
Python/instrumentation.c