cpython/Modules/_sre
Miss Islington (bot) e04809299f
[3.13] gh-120155: Add assertion to sre.c match_getindex() (GH-120402) (#120409)
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 14:07:36 +00:00
..
clinic gh-115015: Argument Clinic: fix generated code for METH_METHOD methods without params (#115016) 2024-02-05 21:49:17 +01:00
sre.c [3.13] gh-120155: Add assertion to sre.c match_getindex() (GH-120402) (#120409) 2024-06-12 14:07:36 +00:00
sre.h gh-109631: Allow interruption of short repeated regex matches (GH-109867) 2023-09-26 10:56:33 +03:00
sre_constants.h gh-105687: Remove deprecated objects from `re` module (#105688) 2023-06-14 12:26:20 +02:00
sre_lib.h gh-114569: Use PyMem_* APIs for most non-PyObject uses (#114574) 2024-01-26 10:11:35 +00:00
sre_targets.h gh-97669: Create Tools/build/ directory (#97963) 2022-10-17 12:01:00 +02:00