Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-122029: Log call events in sys.setprofile when it's a method with c function#122072

Merged
gpshead merged 3 commits into
python:mainpython/cpython:mainfrom
gaogaotiantian:setprofile-methodgaogaotiantian/cpython:setprofile-methodCopy head branch name to clipboard
Jul 23, 2024
Merged

gh-122029: Log call events in sys.setprofile when it's a method with c function#122072
gpshead merged 3 commits into
python:mainpython/cpython:mainfrom
gaogaotiantian:setprofile-methodgaogaotiantian/cpython:setprofile-methodCopy head branch name to clipboard

Conversation

@gaogaotiantian

@gaogaotiantian gaogaotiantian commented Jul 21, 2024

Copy link
Copy Markdown
Member

Currently sys.setprofile logs the c_return event, but not c_call event, when the function is a PyMethodObject that points to a PyCFunction. This patch fixed that.

@miss-islington-app

Copy link
Copy Markdown

Thanks @gaogaotiantian for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Jul 23, 2024

Copy link
Copy Markdown

GH-122205 is a backport of this pull request to the 3.13 branch.

@bedevere-app

bedevere-app Bot commented Jul 23, 2024

Copy link
Copy Markdown

GH-122206 is a backport of this pull request to the 3.12 branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.