Uh oh!
There was an error while loading. Please reload this page.
gh-140939: Fix memory leak in _PyBytes_FormatEx error path - #140957
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Thanks @StanFromIreland for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
Sorry, @StanFromIreland and @kumaraditya303, I could not cleanly backport this to |
Sorry, @StanFromIreland and @kumaraditya303, I could not cleanly backport this to |
StanFromIreland
commented
Nov 6, 2025
I can backport. |
GH-141154 is a backport of this pull request to the 3.14 branch. |
…path (pythonGH-140957) (cherry picked from commit d6c89a2) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
…path (pythonGH-140957) (cherry picked from commit d6c89a2) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
GH-141155 is a backport of this pull request to the 3.13 branch. |
It is already accounted for in the other path:
cpython/Objects/bytesobject.c
Lines 1049 to 1054 in b373d34
_PyBytes_FormatExerror path #140939