]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-107674: Improve performance of `sys.settrace` (GH-117133)
authorTian Gao <gaogaotiantian@hotmail.com>
Fri, 3 May 2024 18:49:24 +0000 (11:49 -0700)
committerGitHub <noreply@github.com>
Fri, 3 May 2024 18:49:24 +0000 (19:49 +0100)
commit9c14ed06188aa4d462cd0fc4218c6023f9bf03cb
tree1e60a736e9b626706110a8f1600a20ef8c8b3827
parent998c3856c1e922ece806c162858dc587a1e92e02
gh-107674: Improve performance of `sys.settrace` (GH-117133)

* Check tracing in RESUME_CHECK

* Only change to RESUME_CHECK if not tracing
Misc/NEWS.d/next/Core and Builtins/2024-02-04-07-45-29.gh-issue-107674.q8mCmi.rst [new file with mode: 0644]
Python/bytecodes.c
Python/ceval.c
Python/ceval_macros.h
Python/executor_cases.c.h
Python/generated_cases.c.h
Python/instrumentation.c