SIGN IN SIGN UP

[3.11] [3.12] gh-109181: Fix refleak in tb_get_lineno() (GH-111948) (#111951)

[3.12] gh-109181: Fix refleak in tb_get_lineno() (GH-111948)

PyFrame_GetCode() returns a strong reference.
(cherry picked from commit 4b0c875d91727440251a8427a80d8515e39d18cd)

Co-authored-by: Victor Stinner <vstinner@python.org>
M
Miss Islington (bot) committed
8222ad01fe5e802649f0a1bd30d26d4623533c51
Parent: 7b84451
Committed by GitHub <noreply@github.com> on 11/10/2023, 1:32:02 PM