diff options
-rw-r--r-- | Modules/_sre.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_sre.c b/Modules/_sre.c index fb8fc2a..a0e284d 100644 --- a/Modules/_sre.c +++ b/Modules/_sre.c @@ -570,6 +570,7 @@ SRE_MATCH(SRE_STATE* state, SRE_CODE* pattern, int level) #if defined(USE_STACKCHECK) if (level % 10 == 0 && PyOS_CheckStack()) { return SRE_ERROR_RECURSION_LIMIT; + } #endif #if defined(USE_RECURSION_LIMIT) |