SIGN IN SIGN UP

[3.13] gh-91153: prevent a crash in `bytearray.__setitem__(ind, ...)` when `ind.__index__` has side-effects (GH-132379) (#136582)

(cherry picked from commit 5e1e21dee35b8e9066692d08033bbbdb562e2c28)

Co-authored-by: Bast <52266665+bast0006@users.noreply.github.com>
B
Bénédikt Tran committed
360540fd47d282721214f45ba05b6b9a57d972a7
Parent: 6176101
Committed by GitHub <noreply@github.com> on 7/12/2025, 2:34:45 PM