]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-109631: Allow interruption of short repeated regex matches (GH-109867)...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 2 Oct 2023 15:36:29 +0000 (08:36 -0700)
committerGitHub <noreply@github.com>
Mon, 2 Oct 2023 15:36:29 +0000 (17:36 +0200)
commit65c845e065d6ff7abc1abdc9c24bc7612a665161
treec4b253cbbf3537e4f5c76df21250a8e87a51e130
parentd09a3145b596810078d0b24e1a9cbebc117f804d
[3.12] gh-109631: Allow interruption of short repeated regex matches (GH-109867) (#109886)

gh-109631: Allow interruption of short repeated regex matches (GH-109867)

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