]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-117139: Fix an incorrect borrow in bytecodes.c (#122318)
authorSam Gross <colesbury@gmail.com>
Wed, 7 Aug 2024 13:36:19 +0000 (09:36 -0400)
committerGitHub <noreply@github.com>
Wed, 7 Aug 2024 13:36:19 +0000 (19:06 +0530)
commit674a50ef2f8909c1c5d812e166bcc12ae6377908
tree3903df98dc42864af8fc51c11b1d0507280ce267
parent013a0929750ed2b46ae990b59d02e3db84337474
gh-117139: Fix an incorrect borrow in bytecodes.c (#122318)

`_PyDict_SetItem_Take2` steals both the key (i.e., `sub`) and the value.
Python/bytecodes.c
Python/executor_cases.c.h
Python/generated_cases.c.h