-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-126220: Fix crash on calls to _lsprof.Profiler
methods with 0 args (backportable)
#126271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
_lsprof.Profiler
methods with 0 args_lsprof.Profiler
methods with 0 args (backportable)
I'm changing the title of the PR just so that we don't have two PRs that look exactly the same on the issue. |
Misc/NEWS.d/next/Library/2024-10-31-14-06-28.gh-issue-126220.uJAJCU.rst
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(BTW, PyErr_Format
always returns NULL
)
…JAJCU.rst Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
This comment was marked as outdated.
This comment was marked as outdated.
…h 0 args (backportable) (pythonGH-126271) (cherry picked from commit 28b148f) Co-authored-by: sobolevn <mail@sobolevn.me> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
…h 0 args (backportable) (pythonGH-126271) (cherry picked from commit 28b148f) Co-authored-by: sobolevn <mail@sobolevn.me> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
GH-126310 is a backport of this pull request to the 3.13 branch. |
GH-126311 is a backport of this pull request to the 3.12 branch. |
Thank you! I will backport this change and go back to the original PR soon :) |
Next time, remember to edit such a change out of the squashed commit title ;) |
Nit: ideally, the other PR would have received the title change (adapt to Argument Clinic ...), not this one. |
…h 0 args (backportable) (python#126271) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
…h 0 args (backportable) (python#126271) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
This is the fix with no AC that we can backport.
#126233 will be reworked to only apply AC to already fixed functions. I plan to merge this one first and then rebase the oirginal one.
_lsprof.Profiler._creturn_callback()
segfaults #126220