Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
gh-140939: Fix memory leak in_PyBytes_FormatEx error path#140957
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
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.
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.
LGTM
d6c89a2 intopython:mainUh 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 |
I can backport. |
GH-141154 is a backport of this pull request to the3.14 branch. |
…path (pythonGH-140957)(cherry picked from commitd6c89a2)Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
…path (pythonGH-140957)(cherry picked from commitd6c89a2)Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
GH-141155 is a backport of this pull request to the3.13 branch. |
Uh oh!
There was an error while loading.Please reload this page.
It is already accounted for in the other path:
cpython/Objects/bytesobject.c
Lines 1049 to 1054 inb373d34
_PyBytes_FormatExerror path #140939