]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45753: Interpreter internal tweaks (GH-29575)
authorMark Shannon <mark@hotpy.org>
Wed, 1 Dec 2021 12:09:36 +0000 (12:09 +0000)
committerGitHub <noreply@github.com>
Wed, 1 Dec 2021 12:09:36 +0000 (12:09 +0000)
commit49444fb807ecb396462c8e5f547eeb5c6bc5d4de
tree9b42fa9128a1f22da7e7a95b696a5a40ace1515a
parent0aa0bd056349f73de9577ccc38560c1d01864d51
bpo-45753: Interpreter internal tweaks (GH-29575)

* Split exit paths into exceptional and non-exceptional.

* Move exit tracing code to individual bytecodes.

* Wrap all trace entry and exit events in macros to make them clearer and easier to enhance.

* Move return sequence into RETURN_VALUE, YIELD_VALUE and YIELD_FROM. Distinguish between normal trace events and dtrace events.
Include/internal/pycore_code.h
Include/internal/pycore_frame.h
Python/ceval.c