]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-109631: Allow interruption of short repeated regex matches (GH-109867)...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 26 Sep 2023 08:19:29 +0000 (01:19 -0700)
committerGitHub <noreply@github.com>
Tue, 26 Sep 2023 08:19:29 +0000 (08:19 +0000)
commit97f7e9d5d6c46106e82ca374f98239c549ef0ed8
treeaa7a1fc00e5956a8e2dc49966bb74320f7081176
parent3ab0621db72124f78799f0d72699cadb17d9ab2b
[3.11] gh-109631: Allow interruption of short repeated regex matches (GH-109867) (GH-109885)

Counting for signal checking now continues in new match from the point where
it ended in the previous match instead of starting from 0.
(cherry picked from commit 8ac2085b80eca4d9b2a1093d0a7da020fd12e11a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Misc/NEWS.d/next/Library/2023-09-25-23-00-37.gh-issue-109631.eWSqpO.rst [new file with mode: 0644]
Modules/_sre/sre.h
Modules/_sre/sre_lib.h