Skip to content

Conversation

savannahostrowski
Copy link
Member

@savannahostrowski savannahostrowski commented Sep 6, 2024

(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 security 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
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
Member

Confirmed offline.

@brandtbucher brandtbucher merged commit eac2fda into python:3.13 Sep 6, 2024
57 checks passed
@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 security 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