SIGN IN SIGN UP

[3.12] gh-120155: Add assertion to sre.c match_getindex() (GH-120402) (#120410)

gh-120155: Add assertion to sre.c match_getindex() (GH-120402)

Add an assertion to help static analyzers to detect that i*2 cannot
overflow.
(cherry picked from commit 42b25dd61ff3593795c4cc2ffe876ab766098b24)

Co-authored-by: Victor Stinner <vstinner@python.org>
M
Miss Islington (bot) committed
ab309343655a668863e6fcec9de4cfd428ba0392
Parent: e8a9f0c
Committed by GitHub <noreply@github.com> on 6/12/2024, 1:57:45 PM