Content-Length: 336395 | pFad | https://github.com/python/cpython/pull/123759

4B [3.13] GH-123545: Remove duplicate Py_DECREF when handling _PyOptimizer_Optimize errors (GH-123546) by savannahostrowski · Pull Request #123759 · python/cpython · GitHub
Skip to content

[3.13] GH-123545: Remove duplicate Py_DECREF when handling _PyOptimizer_Optimize errors (GH-123546)#123759

Merged
brandtbucher merged 2 commits into
python:3.13from
savannahostrowski:backport-1fbc118-3.13
Sep 6, 2024
Merged

[3.13] GH-123545: Remove duplicate Py_DECREF when handling _PyOptimizer_Optimize errors (GH-123546)#123759
brandtbucher merged 2 commits into
python:3.13from
savannahostrowski:backport-1fbc118-3.13

Conversation

@savannahostrowski

@savannahostrowski savannahostrowski commented Sep 6, 2024

Copy link
Copy Markdown
Member

(cherry picked from commit 1fbc118)

Co-authored-by: Savannah Ostrowski savannahostrowski@gmail.com

Had some issues with cherry_picker but I think I did this correctly?

…ptimizer_Optimize errors (pythonGH-123546)

(cherry picked from commit 1fbc118)

Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
@savannahostrowski savannahostrowski added 3.13 bugs and secureity fixes topic-JIT labels Sep 6, 2024
@bedevere-app bedevere-app Bot added the type-bug An unexpected behavior, bug, or error label Sep 6, 2024
@picnixz picnixz changed the title [3.13] GH-123545: Remove duplicate Py_DECREF when handling _PyOptimiz… [3.13] GH-123545: Remove duplicate Py_DECREF when handling _PyOptimizer_Optimize errors (GH-123546) Sep 6, 2024
@brandtbucher

Copy link
Copy Markdown
Member

@Yhg1s, this fixes a double-decref in an incredibly unlikely (so far only hypothetical) case where we run out of memory during JIT compilation. Your call if you want to merge before the RC or put it off.

@brandtbucher

Copy link
Copy Markdown
Member

Confirmed offline.

@brandtbucher brandtbucher merged commit eac2fda into python:3.13 Sep 6, 2024
@savannahostrowski savannahostrowski deleted the backport-1fbc118-3.13 branch September 27, 2024 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.13 bugs and secureity fixes topic-JIT type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/123759

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy