]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-118692: Avoid creating unnecessary StopIteration instances for monitoring...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 24 May 2024 10:18:13 +0000 (12:18 +0200)
committerGitHub <noreply@github.com>
Fri, 24 May 2024 10:18:13 +0000 (10:18 +0000)
commitc864efba25465eb6a4fff7e0a6df80a9ba449370
treed4c9968b1ac36ac938a4b595d55534ea7f2ac5ea
parente27e36922ee9fa970d3d8e602ac7eeb442ca530a
[3.13] gh-118692: Avoid creating unnecessary StopIteration instances for monitoring (GH-119216) (#119497)

* gh-118692: Avoid creating unnecessary StopIteration instances for monitoring (GH-119216)
(cherry picked from commit 6e9863d7a3516cc76d6ce13923b15620499f3855)

---------

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Doc/c-api/monitoring.rst
Include/cpython/monitoring.h
Include/internal/pycore_opcode_metadata.h
Lib/test/test_monitoring.py
Misc/NEWS.d/next/Core and Builtins/2024-05-20-14-57-39.gh-issue-118692.Qadm7F.rst [new file with mode: 0644]
Modules/_testcapi/monitoring.c
Python/bytecodes.c
Python/ceval.c
Python/generated_cases.c.h
Python/instrumentation.c