Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

miss-islington
Copy link
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 [email protected]

…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 <[email protected]>
@vstinner vstinner enabled auto-merge (squash) June 12, 2024 13:28
@vstinner vstinner merged commit ab30934 into python:3.12 Jun 12, 2024
27 checks passed
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