gh-122029: Log call events in sys.setprofile when it's a method with … · python/cpython@e91ef13 · GitHub
Skip to content

Commit e91ef13

Browse files
gh-122029: Log call events in sys.setprofile when it's a method with c function (GH-122072)
Log call events in sys.setprofile when it is a method with a C function.
1 parent 41a91bd commit e91ef13

3 files changed

Lines changed: 28 additions & 0 deletions

File tree

Lib/test/test_sys_setprofile.py

Lines changed: 14 additions & 0 deletions
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Emit ``c_call`` events in :func:`sys.setprofile` when a ``PyMethodObject`` pointing to a ``PyCFunction`` is called.

Python/legacy_tracing.c

Lines changed: 13 additions & 0 deletions

0 commit comments

Comments
 (0)