Uh oh!
There was an error while loading. Please reload this page.
gh-126220: Fix crash on calls to _lsprof.Profiler methods with 0 args (backportable) - #126271
Conversation
_lsprof.Profiler methods with 0 args_lsprof.Profiler methods with 0 args (backportable)picnixz
commented
Nov 1, 2024
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. |
Uh oh!
There was an error while loading. Please reload this page.
erlend-aasland
left a comment
There was a problem hiding this comment.
(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. |
sobolevn
commented
Nov 1, 2024
Thank you! I will backport this change and go back to the original PR soon :) |
erlend-aasland
commented
Nov 1, 2024
Next time, remember to edit such a change out of the squashed commit title ;) |
erlend-aasland
commented
Nov 1, 2024
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