summaryrefslogtreecommitdiffstats
path: root/Modules/_sre/sre.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_sre/sre.c')
-rw-r--r--Modules/_sre/sre.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/_sre/sre.c b/Modules/_sre/sre.c
index ace2e9b..0547390 100644
--- a/Modules/_sre/sre.c
+++ b/Modules/_sre/sre.c
@@ -2024,8 +2024,6 @@ _validate_inner(SRE_CODE *code, SRE_CODE *end, Py_ssize_t groups)
GET_SKIP;
GET_ARG; /* 0 for lookahead, width for lookbehind */
code--; /* Back up over arg to simplify math below */
- if (arg & 0x80000000)
- FAIL; /* Width too large */
/* Stop 1 before the end; we check the SUCCESS below */
if (_validate_inner(code+1, code+skip-2, groups))
FAIL;