diff options
author | Mark Shannon <mark@hotpy.org> | 2023-09-05 07:03:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-05 07:03:53 (GMT) |
commit | 5a2a04615171899885b977d77dc379bd78bac87f (patch) | |
tree | 07b3b359d819e917cca725ca787734bad8735387 /Misc/NEWS.d/next | |
parent | 04a0830b00879efe057e3dfe75e9aa9c0caf1a26 (diff) | |
download | cpython-5a2a04615171899885b977d77dc379bd78bac87f.zip cpython-5a2a04615171899885b977d77dc379bd78bac87f.tar.gz cpython-5a2a04615171899885b977d77dc379bd78bac87f.tar.bz2 |
GH-108390: Prevent non-local events being set with `sys.monitoring.set_local_events()` (GH-108420)
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2023-08-13-17-18-22.gh-issue-108390.TkBccC.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2023-08-13-17-18-22.gh-issue-108390.TkBccC.rst b/Misc/NEWS.d/next/Core and Builtins/2023-08-13-17-18-22.gh-issue-108390.TkBccC.rst new file mode 100644 index 0000000..3ed5960 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2023-08-13-17-18-22.gh-issue-108390.TkBccC.rst @@ -0,0 +1,4 @@ +Raise an exception when setting a non-local event (``RAISE``, ``EXCEPTION_HANDLED``, +etc.) in ``sys.monitoring.set_local_events``. + +Fixes crash when tracing in recursive calls to Python classes. |