Skip to content

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

Merged
vstinner merged 1 commit intopython:3.13from
miss-islington:backport-42b25dd-3.13
Jun 12, 2024
Merged

[3.13] gh-120155: Add assertion to sre.c match_getindex() (GH-120402)#120409
vstinner merged 1 commit intopython:3.13from
miss-islington:backport-42b25dd-3.13

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Jun 12, 2024

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

Co-authored-by: Victor Stinner vstinner@python.org

…0402)

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

Co-authored-by: Victor Stinner <vstinner@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants