]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106508: Improve debugging of the _sre module (GH-106509)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 8 Jul 2023 15:00:39 +0000 (18:00 +0300)
committerGitHub <noreply@github.com>
Sat, 8 Jul 2023 15:00:39 +0000 (18:00 +0300)
commitb305c69d1085c9e6c6875559109f73b827cb6fe0
treea3f438aacac5524477620e00dd6d5499ff842a54
parent74ec02e9490d8aa086aa9ad9d1d34d2ad999b5af
gh-106508: Improve debugging of the _sre module (GH-106509)

Now the VERBOSE macro can control tracing on per-pattern basis:

* 0 -- disabled
* 1 -- only if the DEBUG flag set
* 2 -- always
Modules/_sre/sre.c
Modules/_sre/sre.h
Modules/_sre/sre_lib.h