summaryrefslogtreecommitdiff
path: root/Lib/sre_constants.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-02-16 16:47:47 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2013-02-16 16:47:47 +0200
commitc1bc0b91f6d3d93785f62cee4ceb78ef6fc0ab7c (patch)
tree91b3d5c5de1a4c161c722599984e5d2d9ea349d9 /Lib/sre_constants.py
parent6b8e2d5d7b82000f170f6301f25773f12172d456 (diff)
downloadcpython-c1bc0b91f6d3d93785f62cee4ceb78ef6fc0ab7c.tar.gz
Issue #13169: The maximal repetition number in a regular expression has been
increased from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on 64-bit).
Diffstat (limited to 'Lib/sre_constants.py')
-rw-r--r--Lib/sre_constants.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/sre_constants.py b/Lib/sre_constants.py
index 417670bf8d..71ccb23f62 100644
--- a/Lib/sre_constants.py
+++ b/Lib/sre_constants.py
@@ -15,10 +15,6 @@
MAGIC = 20031017
-# max code word in this release
-
-MAXREPEAT = 65535
-
# SRE standard exception (access as sre.error)
# should this really be here?