SIGN IN SIGN UP

[3.13] GH-140058: Clear key and value if `PyTuple_New` fails in `dictiter_iternextitem` (GH-140059) (#140108)

GH-140058: Clear key and value if `PyTuple_New` fails in `dictiter_iternextitem` (GH-140059)
(cherry picked from commit ded59f7e8e93274488584574ff2336a98bc4eff6)

Co-authored-by: Sergey Miryanov <sergey.miryanov@gmail.com>
M
Miss Islington (bot) committed
7992a295123489f1b31b8b5724f02188cbe32e51
Parent: 7e40d94
Committed by GitHub <noreply@github.com> on 10/14/2025, 1:40:13 PM