]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-91054: Add code object watchers API (GH-99859)
authorItamar Ostricher <itamarost@gmail.com>
Fri, 2 Dec 2022 17:28:27 +0000 (09:28 -0800)
committerGitHub <noreply@github.com>
Fri, 2 Dec 2022 17:28:27 +0000 (17:28 +0000)
commit3c137dc613c860f605d3520d7fd722cd8ed79da6
tree1d790ed26497a0f7c5262a4a00ca6311cf3950e9
parent0563be23a557917228a8b48cbb31bda285a3a815
GH-91054: Add code object watchers API (GH-99859)

* Add API to allow extensions to set callback function on creation and destruction of PyCodeObject

Co-authored-by: Ye11ow-Flash <janshah@cs.stonybrook.edu>
Doc/c-api/code.rst
Doc/whatsnew/3.12.rst
Include/cpython/code.h
Include/internal/pycore_code.h
Include/internal/pycore_interp.h
Lib/test/test_capi/test_watchers.py
Misc/ACKS
Misc/NEWS.d/next/Core and Builtins/2022-11-27-13-50-13.gh-issue-91054.oox_kW.rst [new file with mode: 0644]
Modules/_testcapi/watchers.c
Objects/codeobject.c
Python/pystate.c