gh-126220: Fix crash on calls to _lsprof.Profiler methods with 0 args (backportable)#126271
gh-126220: Fix crash on calls to _lsprof.Profiler methods with 0 args (backportable)#126271sobolevn merged 3 commits into
_lsprof.Profiler methods with 0 args (backportable)#126271Conversation
_lsprof.Profiler methods with 0 args|
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. |
Sorry, something went wrong.
erlend-aasland
left a comment
There was a problem hiding this comment.
(BTW, PyErr_Format always returns NULL)
Sorry, something went wrong.
…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>
|
Thank you! I will backport this change and go back to the original PR soon :) |
Sorry, something went wrong.
Next time, remember to edit such a change out of the squashed commit title ;) |
Sorry, something went wrong.
|
Nit: ideally, the other PR would have received the title change (adapt to Argument Clinic ...), not this one. |
Sorry, something went wrong.
…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