diff options
| author | Savannah Ostrowski <savannahostrowski@gmail.com> | 2024-09-06 16:02:32 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-06 16:02:32 (GMT) |
| commit | eac2fdacfb1b3b86e09f25c025ee7a2b2e24671b (patch) | |
| tree | fe6979a7f218914ab2fa5ccee7c303a7bedfe5aa /Python/bytecodes.c | |
| parent | d053204b73c8569ac0c8c107b997293ffe64b195 (diff) | |
| download | cpython-eac2fdacfb1b3b86e09f25c025ee7a2b2e24671b.zip cpython-eac2fdacfb1b3b86e09f25c025ee7a2b2e24671b.tar.gz cpython-eac2fdacfb1b3b86e09f25c025ee7a2b2e24671b.tar.bz2 | |
[3.13] GH-123545: Remove duplicate Py_DECREF when handling _PyOptimizer_Optimize errors (GH-123759)
(cherry picked from commit 1fbc118c5d3916e920a57cda3cb6d9a0292de26e)
Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
Diffstat (limited to 'Python/bytecodes.c')
| -rw-r--r-- | Python/bytecodes.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c index d953311..1e6185d 100644 --- a/Python/bytecodes.c +++ b/Python/bytecodes.c @@ -4322,8 +4322,6 @@ dummy_func( if (optimized <= 0) { exit->temperature = restart_backoff_counter(exit->temperature); if (optimized < 0) { - Py_DECREF(current_executor); - tstate->previous_executor = Py_None; GOTO_UNWIND(); } GOTO_TIER_ONE(target); |
