cpython/Modules/_sre
Miss Islington (bot) ab30934365
[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 42b25dd61f)

Co-authored-by: Victor Stinner <vstinner@python.org>
2024-06-12 13:57:45 +00:00
..
clinic [3.12] gh-115015: Argument Clinic: fix generated code for METH_METHOD methods without params (#115016) (#115067) 2024-02-06 11:20:16 +01:00
sre.c [3.12] gh-120155: Add assertion to sre.c match_getindex() (GH-120402) (#120410) 2024-06-12 13:57:45 +00:00
sre.h [3.12] gh-109631: Allow interruption of short repeated regex matches (GH-109867) (#109886) 2023-10-02 17:36:29 +02:00
sre_constants.h gh-91524: Speed up the regular expression substitution (#91525) 2022-10-23 15:57:30 -07:00
sre_lib.h [3.12] gh-109747: Improve errors for unsupported look-behind patterns (GH-109859) (GH-110859) 2023-10-14 06:42:19 +00:00
sre_targets.h gh-97669: Create Tools/build/ directory (#97963) 2022-10-17 12:01:00 +02:00